[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-dev] NoClassDefFoundError while using the plugin
|
Hello Nimisha,
I had the same problem when I was developping a plugin for explipse. I have
some ideas to resolve this problem but I did not try them. Here they are :
I think you can either :
1- try to add <export name="*" /> for each jar you need for your plugin.
(example)
- <runtime>
- <library name="lib/ant.jar">
<export name="*" />
</library>
- <library name="lib/ant-antlr.jar">
<export name="*" />
</library>
- <library name="lib/ant-apache-bcel.jar">
<export name="*" />
</library>
....
</runbtime>
or ,
2- create an other plugin for Drools rule engine for your plugin and then
you import it in your plugin.xml file.
Please tell me if it works.
Hope it helps.
Maher
----- Original Message -----
From: <Nimisha.Wale@xxxxxxxxxxxxxxxxxx>
To: <pde-dev@xxxxxxxxxxx>
Sent: Tuesday, February 01, 2005 12:37 PM
Subject: [pde-dev] NoClassDefFoundError while using the plugin
Hi,
I am developing a plugin in eclipse 3.0.0(Build id: 200406251208). I am
using an open source, Drools rule engine for my plugin. Even though I
have included all the jars in plugin.xml, when I deploy my plugin and
run it I get this error:
java.lang.NoClassDefFoundError: org/drools/RuleBase
But if I import the plugin as a project and run it as runtime-workbench,
it runs fine. In short the plugin runs in development environment but
not in runtime environment.
Please advice how to get rid of this error.
Thanks,
nimisha
DISCLAIMER:
This message contains privileged and confidential information and is
intended only for the individual named.If you are not the intended
recipient you should not disseminate,distribute,store,print, copy or
deliver this message.Please notify the sender immediately by e-mail if you
have received this e-mail by mistake and delete this e-mail from your
system.E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted,corrupted,lost,destroyed,arrive late
or incomplete or contain viruses.The sender therefore does not accept
liability for any errors or omissions in the contents of this message
which arise as a result of e-mail transmission. If verification is
required please request a hard-copy version.
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/pde-dev