![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
飞猪闯天下
男儿不占风云志,空负天生八尺躯。
展开
-
Spring boot 的三种启动方式
一:IDE运行应用程序这个类的主要方法二:在springboot的应用的根目录下运行mvn spring-boot:run三:使用mvn install生成jar后运行先到项目根目录mvn installcd targetjava -jar xxxx.jar1234...转载 2018-05-13 19:17:58 · 436 阅读 · 0 评论 -
Spring Boot Configuration Annotation Processor not found in classpath 三种解决方法
@ConfigurationProperties(prefix =“author”)没有指定classpath时,IDEA提示没有找到classpath。在浏览器中访问的结果是null 0是由于在没有指定路劲的情况下,默认在资源下的applications.properties中查找,如果找到则返回值,如果没有找到则返回默认值null / 0 / false ...分析出现spring boot配...转载 2018-05-13 19:20:40 · 30725 阅读 · 0 评论