Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » error on webservice client generation
error on webservice client generation [message #501548] Wed, 02 December 2009 18:17
Mike is currently offline Mike
Messages: 1
Registered: December 2009
Junior Member
i am running

Eclipse Platform
Version: 3.4.2

I am using the Ganymede version

i am trying to generate a webservice client using Axis2 and am getting the following error. Any ideas how to solve?

Exception occurred during code generation for WSDL : java.lang.LinkageError: loader constraint violation: when resolving method " javax.xml.parsers.DocumentBuilder.setEntityResolver(Lorg/xml /sax/EntityResolver;)V " the class loader (instance of org/apache/tools/ant/AntClassLoader) of the current class, org/apache/axis2/util/XMLUtils, and the class loader (instance of <bootloader>) for resolved class, javax/xml/parsers/DocumentBuilder, have different Class objects for the type org/xml/sax/EntityResolver used in the signature

java.lang.reflect.InvocationTargetException

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:597)

at org.eclipse.jst.ws.axis2.consumption.core.utils.WSDL2JavaGen erator.getAxisService(WSDL2JavaGenerator.java:391)

at org.eclipse.jst.ws.axis2.consumption.core.command.Axis2Clien tCodegenCommand.execute(Axis2ClientCodegenCommand.java:117)

at org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.runCommand(CommandFragmentEngine.java:419)

at org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.visitTop(CommandFragmentEngine.java:359)

at org.eclipse.wst.command.internal.env.core.fragment.CommandFr agmentEngine.moveForwardToNextStop(CommandFragmentEngine.jav a:254)

at org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager$6.run(SimpleCommandEngineManager.java:294)

at org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:464)

at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:372)

at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 934)

at org.eclipse.wst.command.internal.env.ui.widgets.SimpleComman dEngineManager.runForwardToNextStop(SimpleCommandEngineManag er.java:264)

at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:91)

at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:262)

at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizar d.performFinish(DynamicWizard.java:382)

at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:742)

at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:373)

at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:624)

at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.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.ja va:3823)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)

at org.eclipse.jface.window.Window.runEventLoop(Window.java:825 )

at org.eclipse.jface.window.Window.open(Window.java:801)

at org.eclipse.ui.internal.handlers.WizardHandler$New.executeHa ndler(WizardHandler.java:253)

at org.eclipse.ui.internal.handlers.WizardHandler.execute(Wizar dHandler.java:273)

at org.eclipse.ui.internal.handlers.HandlerProxy.execute(Handle rProxy.java:281)

at org.eclipse.core.commands.Command.executeWithChecks(Command. java:476)

at org.eclipse.core.commands.ParameterizedCommand.executeWithCh ecks(ParameterizedCommand.java:508)

at org.eclipse.ui.internal.handlers.HandlerService.executeComma nd(HandlerService.java:169)

at org.eclipse.ui.internal.handlers.SlaveHandlerService.execute Command(SlaveHandlerService.java:247)

at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(C ommandAction.java:157)

at org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:583)

at org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:500)

at org.eclipse.jface.action.ActionContributionItem$5.handleEven t(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.ja va:3823)

at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3422)

at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2384)

at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)

at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 00)

at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)

at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:288)

at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:490)

at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)

at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:193)

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(EclipseS tarter.java:386)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)

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:597)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 549)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

Caused by: java.lang.LinkageError: loader constraint violation: when resolving method " javax.xml.parsers.DocumentBuilder.setEntityResolver(Lorg/xml /sax/EntityResolver;)V " the class loader (instance of org/apache/tools/ant/AntClassLoader) of the current class, org/apache/axis2/util/XMLUtils, and the class loader (instance of <bootloader>) for resolved class, javax/xml/parsers/DocumentBuilder, have different Class objects for the type org/xml/sax/EntityResolver used in the signature

at org.apache.axis2.util.XMLUtils.newDocument(XMLUtils.java:202 )

at org.apache.axis2.util.XMLUtils.newDocument(XMLUtils.java:217 )

at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.read InTheWSDLFile(WSDL11ToAxisServiceBuilder.java:2146)

at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.setu p(WSDL11ToAxisServiceBuilder.java:804)

at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.popu lateService(WSDL11ToAxisServiceBuilder.java:308)

... 62 more

Previous Topic:error on javascript autocomplete
Next Topic:eclipse Galileo with Tomcat republishes the whole project
Goto Forum:
  


Current Time: Tue Sep 16 11:39:53 GMT 2014

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

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