症状:
按照书上的方法开发jface要加入以下jar包:
orgeclipsejfacetext**jar
orgeclipsejface_**jar
reruntime_**jar
orgpatibility_**jar
orgeclipseosgi_**jar
mands_**jar
写了一个helloJfacejava编译没什么问题但是运行就总是报错:
javalangNoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor
Caused by: javalangClassNotFoundException: reruntimeIProgressMonitor
at URLClassLoader$run(URLClassLoaderjava:)
at javasecurityAccessControllerdoPrivileged(Native Method)
at URLClassLoaderfindClass(URLClassLoaderjava:)
at javalangClassLoaderloadClass(ClassLoaderjava:)
at sunmiscLauncher$AppClassLoaderloadClass(Launcherjava:)
at javalangClassLoaderloadClass(ClassLoaderjava:)
at javalangClassLoaderloadClassInternal(ClassLoaderjava:)
Exception in thread main
解决方法:
添加jar包:
orgmon_vjar
搞定