spring boot starter dir.zip

qq49702985 16 0 ZIP 2020-07-25 13:07:26

Spring boot创建自定义starter的完整步骤。解压后用idea打开三个工程,依次maven-lifecycle-install spring-boot-starter-autoconfigurer , spring-boot-starter, spring-boot-starter-test, 然后运行spring-boot-starter-test里面的SpringbootStarterApplication,最后在浏览器运行http://localhost:8080/hello ,可以看到显示application.properties里面配置的内容。

用户评论
请输入评论内容
评分:
暂无评论