本文使用的是spring boot 整合templates做的网站示例
使用的开发工具是STS (Spring tools stuite)
win 64位下载链接地址是: http://download.springsource.com/release/STS/3.8.3.RELEASE/dist/e4.6/spring-tool-suite-3.8.3.RELEASE-e4.6.2-win32-x86_64.zip
win 32位下载链接地址是: http://download.springsource.com/release/STS/3.8.3.RELEASE/dist/e4.6/spring-tool-suite-3.8.3.RELEASE-e4.6.2-win32.zip
使用的开发工具是STS (Spring tools stuite)
win 64位下载链接地址是: http://download.springsource.com/release/STS/3.8.3.RELEASE/dist/e4.6/spring-tool-suite-3.8.3.RELEASE-e4.6.2-win32-x86_64.zip
win 32位下载链接地址是: http://download.springsource.com/release/STS/3.8.3.RELEASE/dist/e4.6/spring-tool-suite-3.8.3.RELEASE-e4.6.2-win32.zip
官网链接:http://spring.io/tools/sts/all/
安装完毕后创建spring boot应用
File --->New --->Spring Starter Project
名字等随便取
在Type选项可以选Maven 和Gradle 大多数人都使用的Maven,所以maven就太简单了,网上资料太多 ,所以本文使用Gradle。
选项页面的type选Gradle(STS) 旁边的Packaging选jar