Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] NoClassDefFoundError while using the plugin

well, I hope you succeed to solve this problem.

Since you have the code source of Drules, I think it is possible to have an other plugin :) hope so.

Please keep me informed if it works.

Could anyone of Eclipse Develpers give us a piece of help for this problem.

Thanks.

Maher


----- Original Message ----- From: <Nimisha.Wale@xxxxxxxxxxxxxxxxxx>
To: <pde-dev@xxxxxxxxxxx>
Sent: Tuesday, February 01, 2005 1:17 PM
Subject: RE: [pde-dev] NoClassDefFoundError while using the plugin


Hi Maher,

The structure of my plugin xml is already the way you have illustrated
in 1st point. That's not working :(

I am trying to create another plugin for the drools jars.

Thanks,
nimisha

-----Original Message-----
From: pde-dev-admin@xxxxxxxxxxx [mailto:pde-dev-admin@xxxxxxxxxxx] On
Behalf Of Maher Lamari
Sent: Tuesday, February 01, 2005 5:31 PM
To: pde-dev@xxxxxxxxxxx
Subject: 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


_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/pde-dev


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




Back to the top