码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2018-06-01 18:13:58      阅读:1798      评论:0      收藏:0      [点我收藏+]

标签:pac   bsp   spring   can   solution   erro   col   java   mic   

Spring Boot 启用应用:

error:

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

solution:

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

 

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

标签:pac   bsp   spring   can   solution   erro   col   java   mic   

原文地址:https://www.cnblogs.com/rgqancy/p/9122794.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!