Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » ClassNotFoundException due to classpath problem?
ClassNotFoundException due to classpath problem? [message #286454] Fri, 10 June 2005 06:18
Eclipse UserFriend
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
Previous Topic:Refresh Editor for displaying marker annotation
Next Topic:NewWizardMessages.getstring() missing from M7?
Goto Forum:
  


Current Time: Thu May 08 08:16:17 EDT 2025

Powered by FUDForum. Page generated in 0.06033 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top