Jetty环境搭建,参考: http://wiki.eclipse.org/Jetty_WTP_Plugin
下载 jetty
http://download.eclipse.org/jetty/8.1.11.v20130520/dist/
安装jetty的eclipse插件
http://download.eclipse.org/jetty/updates/jetty-wtp
-------------------------------------------------------------
找不到class时,
java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
java.lang.NoClassDefFoundError: javax/annotation/security/RunAs
将{jetty_path}\lib\annotations下面的两个包导入到Jettry Server的classpath中。
1.javax.annotation-*.jar
2.org.objectweb.asm-*.jar
参考:http://treeapps.hatenablog.com/entry/2013/04/05/002443
jetty环境搭建备忘
最新推荐文章于 2024-01-11 00:29:48 发布