[英]NoClassDefFoundError in eclipse plugin execution
I'm building eclipse plugin that uses JDT/AST. 我正在构建使用JDT / AST的eclipse插件。 Building the plugin works fine, but when I tried to run the plugin. 构建插件工作正常,但是当我尝试运行插件时。 I go this error message. 我去这个错误信息。 It complains that the ASTVisitor class is not found. 它抱怨找不到ASTVisitor类。
I checked the org.eclipse.jdt.core***.jar
is in the build path with User Libraries. 我检查了org.eclipse.jdt.core***.jar
是否在用户库的构建路径中。
What might be wrong? 可能是什么问题? Do I need to setup execution path that points to jar files? 我是否需要设置指向jar文件的执行路径?
Eclipse plugins manage dependencies using the Manifest.MF
file. Eclipse插件使用Manifest.MF
文件管理依赖性。 Check in the dependencies tab of your Manifest.MF
file that you have org.eclipse.jdt.core
as a required plugin. 在Manifest.MF
文件的依赖项选项卡中,将org.eclipse.jdt.core
作为必需的插件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.