查了很多资料,都是说在web.xml中修改,而自己这种不用xml,直接用注解搞得,
看图,自己这个版本也是支持注解的,所以,不是这个原来,后来想一想应该是我这个项目之前有过user这个,这里应该重名了,改个名字试一下。
这样问题就解决了,表面看是因为同一个项目重名了!可是水平有限,不知道去哪里看源码才能理解这个重名问题~有大佬看到这个文章,会的可以给我说下么?
org.apache.tomcat.util.modeler.BaseModelMBean.invoke Exception invoking method [manageApp] java.lan
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Mac VirtualBox设置虚拟机网络
邋遢的流浪剑客
2020-07-05 15:18:59
ubuntu 18.04 使用code:blocks 编译简单c文件报错解决 : 没建立文件 It seems that this file has not been built yet.
可能原因編譯文件連接不到錯誤。 解決方案: 點Toolchain executables 再點Auto-detect 最後重啓codeblocks即可。
键盘里敲打出的巨人
2020-07-04 10:34:26
maven依赖jar包冲突的解决思路
wolfshadow.cn
2020-06-27 01:01:02
java通过反射机制测试private构造函数
爱猫狗的小郝
2020-06-22 04:31:54
SpringBoot Resful 风格下 报405问题
爱猫狗的小郝
2020-06-22 03:55:30
开发过程中--常见错误解决
斩天拔剑书
2020-06-20 15:41:49
Controller不能访问的解决方法
有头发的代码匠
2020-06-16 03:30:35
python2.7.x 版本在win7、64位系统安装遇到的问题
1、第一次安裝時出現錯誤如下“An error occurred during the installation of assembly 'Mic
ls_qq_2670813470
2020-06-14 21:39:55
解决报错TypeError: ParserIncomingMessage is not a constructor
ls_qq_2670813470
2020-06-14 21:39:55
Unknown initial character set index 255 received from server Initial client character 解决方法
字符集設置出現問題 後面加上?useUnicode=true&characterEncoding=utf8 問題解決。
爱猫狗的小郝
2020-06-10 15:02:14
Error setting property values nested exception is org.springframework.beans.NotWritablePropertyExce
爱猫狗的小郝
2020-06-10 15:01:54
报错:curl: (7) Failed connect to raw.githubusercontent.com:443
键盘里敲打出的巨人
2020-06-07 11:45:35
eclipse取消validation验证
爱猫狗的小郝
2020-05-04 02:15:44
org.springframework.aop.framework.AopConfigException: Cannot proxy target cl
爱猫狗的小郝
2020-04-28 06:11:17
The path "" is not a valid path to the 3.10.0-693.el7.x86_64 kernel headers
爱猫狗的小郝
2020-04-21 02:33:54