- 抛出表示访问的页面url没有匹配到对应的值的异常,原因:Application启动类的位置不对:要将Application类放在最外侧,即包含所有子包 ,spring-boot会自动加载启动类所在包下及其子包下的所有组件。
- Spring Boot 启动错误:Error starting ApplicationContext. To display the conditions report re-run your app:初始化的时候 配置了spring-boot-starter-data-jpa等数据库依赖 但是没有配置数据库!
Spring boot 经验小结
猜你喜欢
转载自blog.csdn.net/WHUT618/article/details/103211225
今日推荐
周排行