SpringMVC 的注解和 XML 冲突的问题

搭建Spring MVC 环境。controller中加上@Controller注解 。启动项目时出现了错误:Cannot map handler 'TestController' to URL path [/hello]: There is already handler of type [class com.yxl.test.controller.TestController] mapped.
相关文章
相关标签/搜索