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

Spring Boot 启用应用:

error:

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

solution:

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

 

posted @ 2018-06-01 17:54  任国强  阅读(1260)  评论(0编辑  收藏  举报