自定义starter
参考: https://www.cnblogs.com/cjsblog/p/10926408.html
运行:
cd hello-my-starter-autoconfigure
mvn clean install
cd hello-spring-boot-starter
mvn clean install
运行demo下的App.java
浏览器访问:
http://localhost:8080/product/list
http://localhost:8080/demo/info
即可看到后台日志打印的效果