|ClassNotFoundException when running Java application inside PDE project [message #598134]
||Sat, 06 June 2009 23:23
| Will Horn
Registered: July 2009
Occassionally when I am working on a plug-in, I will hack together a quick |
class with a main method and run it from inside the project. I do this
especially to test little SWT or JFace ideas. Usually this works fine and
the Java classpath has all the necessary jars. I tried this today on 3.5RC3
and I got a ClassNotFoundException.
The reason is that a transitive dependency was not available:
myplugin -> org.eclipse.core.databinding ->
I totally agree that the transitive dependency should not be on the compile
time classpath, but why not on the runtime classpath? Maybe this was never
supposed to work, and I just got lucky in the past.
Powered by FUDForum
. Page generated in 0.01973 seconds