Class of a dependant plugin, "NoClassDefFoundError". [message #14740] |
Wed, 30 July 2008 16:10  |
Eclipse User |
|
|
|
Originally posted by: natgross.ATgmail.com
Hi;
In a workspace I have about 10 plugin projects with various dependencies
amongst them. Although all the required plugins appear in the plugin
registry view of the target environment, I get a "NoClassDefFoundError"
for a class that definitely exists in a dependent plugin AND it has all
its pkg's exported on the Runtime tab of the plugin.xml file.
Plugin project C depends on plugin projects B and A. When running C, it
finds the classes in B but not in A. A & B export all their pkg's.
Also to note that poject C builds/compiles just fine in he orignal
workbench.
Please advise. Thanks.
nat
|
|
|
Re: Class of a dependant plugin, "NoClassDefFoundError". [message #14770 is a reply to message #14740] |
Thu, 31 July 2008 18:59  |
Eclipse User |
|
|
|
Originally posted by: natgross.ATgmail.com
On Wed, 30 Jul 2008 16:10:34 -0400, nat G wrote:
> Hi;
> In a workspace I have about 10 plugin projects with various dependencies
> amongst them. Although all the required plugins appear in the plugin
> registry view of the target environment, I get a "NoClassDefFoundError"
> for a class that definitely exists in a dependent plugin AND it has all
> its pkg's exported on the Runtime tab of the plugin.xml file.
>
> Plugin project C depends on plugin projects B and A. When running C, it
> finds the classes in B but not in A. A & B export all their pkg's. Also
> to note that poject C builds/compiles just fine in he orignal workbench.
Problem solved! There was an error in build.properties.
Since this error was flagged "warning", I didn't notice it amongst other
"yellow" warnings. Nice thing was that "quick fix" fixed it.
-nat
|
|
|
Re: Class of a dependant plugin, "NoClassDefFoundError". [message #574936 is a reply to message #14740] |
Thu, 31 July 2008 18:59  |
Eclipse User |
|
|
|
Originally posted by: natgross.ATgmail.com
On Wed, 30 Jul 2008 16:10:34 -0400, nat G wrote:
> Hi;
> In a workspace I have about 10 plugin projects with various dependencies
> amongst them. Although all the required plugins appear in the plugin
> registry view of the target environment, I get a "NoClassDefFoundError"
> for a class that definitely exists in a dependent plugin AND it has all
> its pkg's exported on the Runtime tab of the plugin.xml file.
>
> Plugin project C depends on plugin projects B and A. When running C, it
> finds the classes in B but not in A. A & B export all their pkg's. Also
> to note that poject C builds/compiles just fine in he orignal workbench.
Problem solved! There was an error in build.properties.
Since this error was flagged "warning", I didn't notice it amongst other
"yellow" warnings. Nice thing was that "quick fix" fixed it.
-nat
|
|
|
Powered by
FUDForum. Page generated in 0.11522 seconds