本文主要是介绍spring框架的项目报错:No mapping found for HTTP request with URI [ ] in DispatcherServlet with name 'spring',希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
SpringMVC框架的项目报错:No mapping found for HTTP request with URI [ ] in DispatcherServlet with name 'spring'
解决办法:
使用的Spring框架的@RequestMapping没有对应的类没有用@Controller注解标注,在类声明前面加上即可。
这篇关于spring框架的项目报错:No mapping found for HTTP request with URI [ ] in DispatcherServlet with name 'spring'的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!