Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » 3rd party jar files
3rd party jar files [message #145135] Thu, 16 October 2003 14:55 Go to next message
Eclipse UserFriend
The plugin I'm developing uses JDom. Everything worked fine until I tried
to instantiate an XPath object, now I get a NoClassDefFoundError (see
below).

SAXPathExpression is in saxpath.jar, but I'm not sure what to do with it
to make it available to the runtime environment.

Do I need to declare this jar file somehow?

I suppose that a broader question is "How do you package up 3rd party jar
files required by our plugin?"

Any suggestions would be appreciated.

-Mitch


java.lang.NoClassDefFoundError: org/saxpath/SAXPathException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at org.jdom.xpath.XPath.newInstance(XPath.java:133)
at
com.informatixinc.rapid.plugins.postinggrid.model.Grid.load( Grid.java:71)
at
com.informatixinc.rapid.plugins.postinggrid.model.Grid.<init >(Grid.java:60)
at
com.informatixinc.rapid.plugins.postinggrid.editors.GridTabl eViewer. <init>(GridTableViewer.java:84)
at
com.informatixinc.rapid.plugins.postinggrid.editors.PostingG rid.createPartControl(PostingGrid.java:54)
at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:141)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1018)
at org.eclipse.core.runtime.Platform.run(Platform.java:461)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane .java:137)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java :186)
at
org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWork book.java:404)
at org.eclipse.ui.internal.EditorWorkbook.add(EditorWorkbook.ja va:123)
at org.eclipse.ui.internal.EditorArea.addEditor(EditorArea.java :55)
at
org.eclipse.ui.internal.EditorPresentation.openEditor(Editor Presentation.java:351)
at org.eclipse.ui.internal.EditorManager$2.run(EditorManager.ja va:585)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:574)
at
org.eclipse.ui.internal.EditorManager.openInternalEditor(Edi torManager.java:668)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:459)
at
org.eclipse.ui.internal.EditorManager.openEditorFromInput(Ed itorManager.java:333)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:424)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2081)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage .java:2029)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2016)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:84)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2011)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:1912)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileActio n.java:96)
at
org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystem EditorAction.java:96)
at
org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAct ion(OpenActionGroup.java:111)
at
org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAct ion(MainActionGroup.java:298)
at
org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen( ResourceNavigator.java:622)
at
org.eclipse.ui.views.navigator.ResourceNavigator$6.open(Reso urceNavigator.java:389)
at
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredV iewer.java:392)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1018)
at org.eclipse.core.runtime.Platform.run(Platform.java:461)
at
org.eclipse.jface.viewers.StructuredViewer.fireOpen(Structur edViewer.java:390)
at
org.eclipse.jface.viewers.StructuredViewer.handleOpen(Struct uredViewer.java:600)
at
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(Stru cturedViewer.java:689)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrate gy.java:209)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.ja va:204)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrate gy.java:233)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2173)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :1863)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2347)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:2330)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:299)
at org.eclipse.core.launcher.Main.run(Main.java:765)
at org.eclipse.core.launcher.Main.main(Main.java:599)
Re: 3rd party jar files [message #145166 is a reply to message #145135] Thu, 16 October 2003 15:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mh.nixspam.com

> The plugin I'm developing uses JDom. Everything worked fine until I tried
> to instantiate an XPath object, now I get a NoClassDefFoundError (see
> below).
>
> SAXPathExpression is in saxpath.jar, but I'm not sure what to do with it
> to make it available to the runtime environment.
>
> Do I need to declare this jar file somehow?
>
> I suppose that a broader question is "How do you package up 3rd party jar
> files required by our plugin?"

I assume that you added the reference to that jar in your plugin.xml ?
Also for delivery you have to put that jar in your plugin (normally the
root-folder of your plugin)

Mario
Re: 3rd party jar files [message #145173 is a reply to message #145166] Thu, 16 October 2003 16:23 Go to previous messageGo to next message
Eclipse UserFriend
Thanks,

That is the answer I was looking for.

I eventually found it also stated here:

http://dev.eclipse.org/newslists/news.eclipse.tools/msg62015 .html

-Mitch

Mario Herger wrote:

> > The plugin I'm developing uses JDom. Everything worked fine until I tried
> > to instantiate an XPath object, now I get a NoClassDefFoundError (see
> > below).
> >
> > SAXPathExpression is in saxpath.jar, but I'm not sure what to do with it
> > to make it available to the runtime environment.
> >
> > Do I need to declare this jar file somehow?
> >
> > I suppose that a broader question is "How do you package up 3rd party jar
> > files required by our plugin?"

> I assume that you added the reference to that jar in your plugin.xml ?
> Also for delivery you have to put that jar in your plugin (normally the
> root-folder of your plugin)

> Mario
Re: 3rd party jar files [message #145177 is a reply to message #145166] Thu, 16 October 2003 16:23 Go to previous messageGo to next message
Eclipse UserFriend
Thanks,

That is the answer I was looking for.

I eventually found it also stated here:

http://dev.eclipse.org/newslists/news.eclipse.tools/msg62015 .html

-Mitch

Mario Herger wrote:

> > The plugin I'm developing uses JDom. Everything worked fine until I tried
> > to instantiate an XPath object, now I get a NoClassDefFoundError (see
> > below).
> >
> > SAXPathExpression is in saxpath.jar, but I'm not sure what to do with it
> > to make it available to the runtime environment.
> >
> > Do I need to declare this jar file somehow?
> >
> > I suppose that a broader question is "How do you package up 3rd party jar
> > files required by our plugin?"

> I assume that you added the reference to that jar in your plugin.xml ?
> Also for delivery you have to put that jar in your plugin (normally the
> root-folder of your plugin)

> Mario
Re: 3rd party jar files [message #145181 is a reply to message #145166] Thu, 16 October 2003 16:23 Go to previous message
Eclipse UserFriend
Thanks,

That is the answer I was looking for.

I eventually found it also stated here:

http://dev.eclipse.org/newslists/news.eclipse.tools/msg62015 .html

-Mitch

Mario Herger wrote:

> > The plugin I'm developing uses JDom. Everything worked fine until I tried
> > to instantiate an XPath object, now I get a NoClassDefFoundError (see
> > below).
> >
> > SAXPathExpression is in saxpath.jar, but I'm not sure what to do with it
> > to make it available to the runtime environment.
> >
> > Do I need to declare this jar file somehow?
> >
> > I suppose that a broader question is "How do you package up 3rd party jar
> > files required by our plugin?"

> I assume that you added the reference to that jar in your plugin.xml ?
> Also for delivery you have to put that jar in your plugin (normally the
> root-folder of your plugin)

> Mario
Previous Topic:Access remote CVS repository through a proxy server
Next Topic:Can I view a JFrame in an Plugin View?
Goto Forum:
  


Current Time: Tue Jul 22 08:32:51 EDT 2025

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

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

Back to the top