随笔分类 -  springboot

摘要:在Spring Boot工程中自带的有两个文件:mvnw与mvnw.cmd。这两个是什么文件呢? Maven是一个常用的构建工具,但是Maven的版本和插件的配合并不是十分完美,有时为了保证有些插件的正常运行,我们不得不需要切换到一个稍微旧一些的版本。而这个切换工作需要用户重新安装一个Maven,那 阅读全文
posted @ 2019-10-20 22:22 Emyin 阅读(916) 评论(0) 推荐(0)
摘要:输出结果: 监听到事件:org.springframework.boot.context.event.ApplicationStartingEvent(1)监听到事件:org.springframework.boot.context.event.ApplicationEnvironmentPrepa 阅读全文
posted @ 2017-03-18 16:23 Emyin 阅读(178) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-03-18 13:26 Emyin 阅读(138) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2017-03-18 13:25 Emyin 阅读(1461) 评论(0) 推荐(0)
摘要:spring.mvc.date-format=yyyy-MM-dd spring.jackson.date-format=yyyy-MM-dd spring.jackson.time-zone=GMT+8 @Data public class User { private Integer id; p 阅读全文
posted @ 2017-03-17 12:15 Emyin 阅读(483) 评论(0) 推荐(0)
摘要:SpringBoot用于简化Spring应用配置,可以快速构建Spring应用。 springboot: 0xml配置,自动配置,内嵌tomcat spring已经可以0xml了,只不过没办法去掉web.xml。但springboot通过servlet3.0技术把web.xml去掉了。 Spring 阅读全文
posted @ 2017-02-09 22:30 Emyin 阅读(308) 评论(0) 推荐(0)