websockets项目的码头运行错误 [英] jetty run error for websockets project
问题描述
我正在尝试让websocket与码头一起工作.我正在食.当我尝试运行它时,控制台上出现以下错误. java.lang.NoClassDefFoundError:org/objectweb/asm/ClassVisitor
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
我什至尝试了码头附带的test.war.但是错误依旧.
I even tried with test.war that is provided with jetty. But error remains same.
推荐答案
您是否正在使用Jetty WTP Eclipse插件来运行服务器?如果是这样,请尝试以下操作: http://pipecuts .wordpress.com/2011/01/30/classnotfoundexception-org-objectweb-asm-classvisitor/
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/
对我有用.
这篇关于websockets项目的码头运行错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!