Spring Boot, Java Config - No mapping found for HTTP request with URI [/…] in DispatcherServlet with name 'dispatcherServlet'

时间:2018-06-01 18:13:58   收藏:0   阅读:1798

Spring Boot 启用应用:

error:

No mapping found for HTTP request with URI [/…] in DispatcherServlet with name ‘dispatcherServlet‘

solution:

@SpringBootApplication(scanBasePackages={"micro.service.basic",

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!