Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » I've problems when I go import a class another project!
icon13.gif  I've problems when I go import a class another project! [message #544472] Fri, 02 July 2010 14:59 Go to next message
All Pereira is currently offline All Pereira
Messages: 6
Registered: April 2010
Location: Balneário Camboriú- SC...
Junior Member

When I'll try execute a class, she's throw a Error:
Message: Unhandled event loop exception
Stack Trace:
java.lang.NoClassDefFoundError: org/apache/xml/utils/DefaultErrorHandler
at com.totvs.tds.esb.transformation.EsbXSLTProcessor.parse(EsbXSLTProcessor.java:134)
at com.totvs.tds.esb.transformation.EsbXSLTProcessor.parse(EsbXSLTProcessor.java:66)
at com.totvs.tds.esb.transformation.util.FilePersist.persistTransformation(FilePersist.java:39)
at com.totvs.tds.esb.ui.wizard.DeployToESBServerWizard.performFinish(DeployToESBServerWizard.java:86)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:752)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.totvs.tds.esb.ui.wizard.DeployESBProject.run(DeployESBProject.java:40)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3910)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3503)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)


The class that I need (EsbXSLTProcessor), she's depends with another API (xalan.jar).

"This API has been imported into the EsbXSLTProcessor, and I when I create an test class, to test EsbXSLTProcessor class, it works!"

Someone can help me?"

[Updated on: Fri, 02 July 2010 15:01]

Report message to a moderator

Re: I've problems when I go import a class another project! [message #545027 is a reply to message #544472] Tue, 06 July 2010 09:03 Go to previous message
Alexandra Niculai is currently offline Alexandra Niculai
Messages: 84
Registered: July 2009
Member
Maybe you should create a plugin from existing jars(the ones that you need, like xalan.jar and others).
Then on the Runtime page of the created plug-in, add all the packages to the exported packages.
Then add the created plug-in to the required plug-ins in your RCP application.
Previous Topic:Adding new icon to Title Bar
Next Topic:Using commands inside a form
Goto Forum:
  


Current Time: Wed Jul 30 21:19:42 EDT 2014

Powered by FUDForum. Page generated in 0.13123 seconds