jetty run error for websockets project

[亡魂溺海] 提交于 2019-12-22 11:35:42

问题


I'm trying to get websockets working with jetty. I'm on eclipse. When I try to run it, following error appears on console. java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor

I even tried with test.war that is provided with jetty. But error remains same.


回答1:


Are you using the Jetty WTP Eclipse plugin to run the server? If so, then try this: http://pipecuts.wordpress.com/2011/01/30/classnotfoundexception-org-objectweb-asm-classvisitor/

It worked for me.



来源:https://stackoverflow.com/questions/9054303/jetty-run-error-for-websockets-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!