网上的人都说是jar冲突,删来删去,也没解决。
最后用这种方法解决了
<Loader delegate="true" />
在eclipse中关于Tomcat配置的servers中context.xml文件中加上这句
完美解决!!!