eclipse集成Jetty8启动服务异常

集成jetty8.1.9到eclipse后创建动态web工程部署运行出现java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor异常

解决如下:
1、点击Jetty Server打开launcch configuration
2、选择classpath选项卡
3、点击User Entries
4、点击Add External Jars
5、在jettry安装目录下选择lib/annotations下的两个jar包
6、reset server

详细查询:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=338621

猜你喜欢

转载自364434006.iteye.com/blog/1829638
今日推荐