newbie making pde:NoClassDef when using 3rd party jar [message #143948] |
Fri, 20 February 2004 10:41 |
Eclipse User |
|
|
|
Originally posted by: aks.terma.com
Hi
Sorry - this must have happened before:
When I run my plugin (which compiles against a 3rd party jar in my plugin
workspace) in the runtime workbench, the 3rd party jar is not found and I
get the NoClassDef exception.
The jar file is listed in the plugin.xml as I added it to the runtime
library list in the Plugin wizard, but this has no effect.
Does anyone have a checklist?
Thanks!
/aksel
|
|
|
|
Re: newbie making pde:NoClassDef when using 3rd party jar [message #144083 is a reply to message #143992] |
Fri, 20 February 2004 17:58 |
Eclipse User |
|
|
|
Originally posted by: aks.terma.com
> Is the jar imported into your workspace plugin project? It needs to
> physically reside in the plugin directory or subdirectory. It can not
> reside somewhere outside of this and be pointed to.
yes- in the workspace directory, same level as plugin.xml, but I haven't
deployed the plugin, only running it from the host ide (in the runtime ide)
One thing that 'concerns' me is that the 3rd party jar is inserted manually
in the runtime libraries list - not selected from list/directory (I did
spell correctly) - is this the right procedure?
|
|
|
|
|
Re: newbie making pde:NoClassDef when using 3rd party jar [message #144804 is a reply to message #144100] |
Mon, 23 February 2004 23:34 |
Eclipse User |
|
|
|
Originally posted by: aks.terma.com
Manifest didn't update by itself - by omparing existing plugins with a
manifest file, a segment was missing in mine (order important) that said:
Bundle-ClassPath:
xxx.jar
Somehow I have to use a manifest file and this isn't autogenerated (only
first time, now I have to keep it up to date manually)
Now I can run the runtime workbench :)
/aksel
"Aksel Schmidt" <aks@terma.com> wrote in message
news:c15lgu$kf2$1@eclipse.org...
> yes - (the plugin editor wizard did it, but the source shows what you
> describe)
>
> "Rich Kulp" <richkulp@NO.SPAM.us.ibm.com> wrote in message
> news:c15kil$jbh$1@eclipse.org...
> > There is no drop down list for adding a library. It is always done by
> > hand. You did put it between <runtime> and </runtime> right?
> >
> > --
> > Thanks, Rich Kulp
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04823 seconds