博客专栏推荐
-
1177338次
-
122015次
-
56769次
-
29259次
本月博客排行
年度博客排行
-
第1名
青否云后端云 -
第2名
zw7534313 -
第3名
大家都说我很棒 - liyihz2008
- wy_19921005
- hbxflihua
- 腾讯优测1
- e_e
- ning2-eye
- wallimn
- dbagirl
- gengyun12
- luxurioust
- zysnba
- itdatacenter
- alsmile
- robotmen
- xiangjie88
- johnsmith9th
- gaozzsoft
- jywhltj
- fantaxy025025
- zhangdaiscott
- chinahuyong
- 淡看人生
- leslie26
- sichunli_030
- cuityang
- kaizi1992
- jveqi
- mukeliang728
- cpongo1
- hellohank
- zlr
- weiyides
- hanbaohong
- appalese
- jickcai
- zhaoshijie
- lzyfn123
- jackpot1234
- qepwqnp
- ranbuijj
- 解宜然
- lyongq04
- xpenxpen
- ssydxa219
- gdpglc
- java-007
最新文章列表
使用freemarker视图
spring boot默认对freemarker也有支持,需哟使用freemarker的第一步是加入freemarker的依赖。
org.freemarker
freemarker
spring boot devtools介绍
spring boot提供了一个spring-boot-devtools jar包,提供了一些方便程序开发的功能,主要是监控程序的变化,然后进行自动重新启动。使用spring-boot-devtools需要在pom.xml中添加如下依赖项,同时需要设置true 。spring-boot- ...
使用spring data jpa
使用spring data jpa需要在pom.xml中添加spring-boot-starter-data-jpa依赖。
org.springframework.boot
spring-boot-s ...
一、spring boot入门示例
1. 创建一个maven工程
group id设为com.tuozixuan,artifactid设为springboot,package设为com.tuozixuan.springboot
2. 在maven工程的pom.xml文件中添加如下配置
1.该demo功能
http://localhost/system/login展示后台发布新闻列表
http://localhost/前端freemark模板展示
中间用到了mysql, mybatis, druid;可以参考spring-boot相关的demo
2.pom依赖
org.springframework ...
有21037人浏览
2016-07-10 11:38
« 上一页 1