The hierarchy of the type MyMessageInbound is inconsistent

来源:互联网 发布:22端口ssh爆破工具 编辑:程序博客网 时间:2024/05/20 06:57

用Myeclipse开发WebSocket时的小Demo报错

The hierarchy of the type MyMessageInbound is inconsistent

是因为缺少包依赖,不仅仅需要catalina.jar还需要tomcat-coyote-7.0.27.jar 下载地址是http://www.java2s.com/Code/Jar/t/Downloadtomcatcoyote7027jar.htm

如果不想用maven的话,可以手动下载导入即可


严重: Parse error in application web.xml file at jndi:/localhost/ipws/WEB-INF/web.xml java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml
在tomcat 配置文件context.xml中添加<Loader delegate="true" />即可。

0 0
原创粉丝点击