ClassNotFoundException due to classpath problem? [message #286454] |
Fri, 10 June 2005 06:18 |
Eclipse User |
|
|
|
Hello
I have the following situation:
I have 3 plugins developed, a core plugin with the main functionality, a
ui plugin (guess so this is not relevant for the problem, but I mention
it to be complete) and a third plugin which encapsulates some jars and
an API as source code. The two first plugins are set to require the
third plugin (in their plugin.xml) and the ui plugin requires the core
plugin.
The purpose of this API is to parse XML files, which contain
descriptions of java methods and then to invoke those methods with Java
Reflection API. Ideally those classes should reside in a package in my
core plugin, as they contain application logic.
So far, so good, if I write a test java file which loads such an
xml-file, passes it to the API to parse and invoke, everything runs
smoothly. If I start a runtime workbench and do the same thing from my
ui (the final call to the API in the third plugin is done by a class in
the core plugin) I get a ClassNotFoundExecption during the call of
Class.forName(myClass)!
I assume, that there is something wrong with my classpathes, but I don't
see the what!
Any ideas?
Best regards
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.06033 seconds