06 2016 档案
摘要:参考:http://www.ydcss.com/archives/18 http://www.tuicool.com/articles/FJVNZf 1.淘宝npm服务 :npm install cnpm -g --registry=https://registry.npm.taobao.org 2
阅读全文
摘要:官方文档:http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto-create-a-deployable-war-file 一:更改程序入口类 Application.java 使其继承SpringBoot
阅读全文
摘要:1.读取application.properties 使用:在需要的地方 注入该文件,@Autowired xxxConfig xxx; 调用xxx.getXxx()方法即可 不同运行环境使用不同配置文件: 在application.properties中添加 application-dev.pro
阅读全文