ssm项目遇上的坑

model中存在相同的类名(全限定名不同) 或者是在controller层存在相同映射路径相同的方法

启动项目调用后台报错

SpringMVC conflicts with existing, non-compatible bean definition of same name and class

解决方法:改变类名     改变映射路径

500 (Internal Server Error)  报错


猜你喜欢

转载自blog.csdn.net/qq_41277773/article/details/86020664