NoClassDefFoundError when creating web service from wsdl [message #84651] |
Thu, 17 March 2005 05:21 |
Eclipse User |
|
|
|
Originally posted by: chandan.mathur.lmco.com
configuration:
eclipse 3.1M5a, SDK 1.4.2, Tomcat 4.1
installed WTP and all associated zip and jar files as per instructions on
the WTP getting started web page.
Trying to create a web service using wsdl file. Following the Top-down
tutorial. When I get to step 7.9 under "Create a top down Java bean Web
service" and click finish, the following unexpected exception occurs.
Have seen several other folks have similar problems, but I can't seem to
fix mine.
Thanks in advance.
This is the dump
IWAB0014E Unexpected exception occured.
javax/activation/DataSource
java.lang.NoClassDefFoundError: javax/activation/DataSource
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory .class$(JAFDataHandlerSerializerFactory.java:76)
at
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory .getSerializerClass(JAFDataHandlerSerializerFactory.java:85)
at
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory . <init>(JAFDataHandlerSerializerFactory.java:73)
at
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImpl.java:154)
at
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImpl.java:130)
at
org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton (DefaultTypeMappingImpl.java:124)
at org.apache.axis.wsdl.toJava.Emitter$1.<init>(Emitter.java:524)
at
org.apache.axis.wsdl.toJava.Emitter.setTypeMappingVersion(Em itter.java:522)
at org.apache.axis.wsdl.toJava.Emitter.setup(Emitter.java:407)
at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:385)
at
org.eclipse.jst.ws.internal.axis.consumption.core.command.WS DL2JavaCommand.execute(WSDL2JavaCommand.java:109)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
at
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardToNextStop(CommandFragmentEngine.java:208)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(SimpleCommandEngineManager.java:206)
at
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:344)
at
org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
at
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForwardToNextStop(SimpleCommandEngineManager.java:1 75)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:69)
at
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:157)
at
org.eclipse.wst.command.env.ui.widgets.DynamicWizard.perform Finish(DynamicWizard.java:338)
at
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:670)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:342)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
at org.eclipse.jface.window.Window.open(Window.java:696)
at
org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:173)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:100 3)
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:557)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:507)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:421)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
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.core.launcher.Main.invokeFramework(Main.java:268 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)
|
|
|
|
Re: NoClassDefFoundError when creating web service from wsdl [message #84757 is a reply to message #84742] |
Thu, 17 March 2005 21:27 |
Eclipse User |
|
|
|
Originally posted by: chandan.mathur.lmco.com
Hopefully I'm not duplicating this post...I tried to answer, but looks
like I must have done something wrong.
In any case, I noted that my tutorial project had an error. The error is
as follows:
CHKJ3000E: WAR Validation Failed:
org.eclipse.jst.j2ee.commonarchivecore.internal.exception.De ploymentDescriptorLoadException:
WEB-INF/web.xml AreaProject March 17, 2005 3:10:50 PM
The other interesting thing is that the
/AreaProject/WebContent/WEB-INF/web.xml file is completely blank.
When I tried to create the project I got an error dialog titled "Save
problems" and stating that "Save could not be completed. Some related
files meay have already been saved. Reason: Connection timed out: connect"
I've tried re-installing eclipse and WTP, but no fix.
Thanks for any help.
cm
Seng Phung-Lu wrote:
> Hi,
> I've seen this exception when there are conflicting or multiple
> activation.jar files. Is there another activation.jar on your machine?
> Maybe you could try a file search.
> Seng
> chan wrote:
>> configuration:
>> eclipse 3.1M5a, SDK 1.4.2, Tomcat 4.1
>> installed WTP and all associated zip and jar files as per instructions
>> on the WTP getting started web page.
>>
>> Trying to create a web service using wsdl file. Following the Top-down
>> tutorial. When I get to step 7.9 under "Create a top down Java bean Web
>> service" and click finish, the following unexpected exception occurs.
>> Have seen several other folks have similar problems, but I can't seem to
>> fix mine.
>> Thanks in advance.
>>
>> This is the dump
>> IWAB0014E Unexpected exception occured.
>> javax/activation/DataSource
>> java.lang.NoClassDefFoundError: javax/activation/DataSource
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Unknown Source)
>> at
>>
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory .class$(JAFDataHandlerSerializerFactory.java:76)
>>
>> at
>>
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory .getSerializerClass(JAFDataHandlerSerializerFactory.java:85)
>>
>> at
>>
org.apache.axis.encoding.ser.JAFDataHandlerSerializerFactory . <init>(JAFDataHandlerSerializerFactory.java:73)
>>
>> at
>>
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImpl.java:154)
>>
>> at
>>
org.apache.axis.encoding.DefaultTypeMappingImpl.<init>(DefaultTypeMappingImpl.java:130)
>>
>> at
>>
org.apache.axis.encoding.DefaultTypeMappingImpl.getSingleton (DefaultTypeMappingImpl.java:124)
>>
>> at org.apache.axis.wsdl.toJava.Emitter$1.<init>(Emitter.java:524)
>> at
>> org.apache.axis.wsdl.toJava.Emitter.setTypeMappingVersion(Em itter.java:522)
>> at org.apache.axis.wsdl.toJava.Emitter.setup(Emitter.java:407)
>> at org.apache.axis.wsdl.toJava.Emitter.run(Emitter.java:385)
>> at
>>
org.eclipse.jst.ws.internal.axis.consumption.core.command.WS DL2JavaCommand.execute(WSDL2JavaCommand.java:109)
>>
>> at
>>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.runCommand(CommandFragmentEngine.java:322)
>>
>> at
>>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.visitTop(CommandFragmentEngine.java:288)
>>
>> at
>>
org.eclipse.wst.command.env.core.fragment.CommandFragmentEng ine.moveForwardToNextStop(CommandFragmentEngine.java:208)
>>
>> at
>>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager$4.run(SimpleCommandEngineManager.java:206)
>>
>> at
>>
org.eclipse.jface.operation.ModalContext.runInCurrentThread( ModalContext.java:344)
>>
>> at org.eclipse.jface.operation.ModalContext.run(ModalContext.ja va:289)
>> at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java: 824)
>> at
>>
org.eclipse.wst.command.env.ui.widgets.SimpleCommandEngineMa nager.runForwardToNextStop(SimpleCommandEngineManager.java:1 75)
>>
>> at
>>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.runForwardToNextStop(WizardPageManager.java:69)
>>
>> at
>>
org.eclipse.wst.command.internal.env.ui.widgets.WizardPageMa nager.performFinish(WizardPageManager.java:157)
>>
>> at
>>
org.eclipse.wst.command.env.ui.widgets.DynamicWizard.perform Finish(DynamicWizard.java:338)
>>
>> at
>> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDi alog.java:670)
>> at
>> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDi alog.java:342)
>> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.jav a:543)
>> at
>> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
>> at org.eclipse.jface.window.Window.runEventLoop(Window.java:718 )
>> at org.eclipse.jface.window.Window.open(Window.java:696)
>> at
>> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.j ava:173)
>> at org.eclipse.jface.action.Action.runWithEvent(Action.java:100 3)
>> at
>>
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:557)
>>
>> at
>>
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:507)
>>
>> at
>>
org.eclipse.jface.action.ActionContributionItem$6.handleEven t(ActionContributionItem.java:421)
>>
>> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :82)
>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
>> at
>> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:2908)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2541)
>> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1612)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:293)
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:144)
>> at
>> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:102)
>> at
>>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:228)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:333)
>>
>> at
>>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:150)
>>
>> 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.core.launcher.Main.invokeFramework(Main.java:268 )
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
>> at org.eclipse.core.launcher.Main.run(Main.java:887)
>> at org.eclipse.core.launcher.Main.main(Main.java:871)
>>
>>
|
|
|
Re: NoClassDefFoundError when creating web service from wsdl [message #86888 is a reply to message #84757] |
Thu, 24 March 2005 17:11 |
Eclipse User |
|
|
|
Originally posted by: jm.r.lineone.net
I'm getting the same error. Did you find a fix for this?
chan wrote:
> Hopefully I'm not duplicating this post...I tried to answer, but looks
> like I must have done something wrong.
>
> In any case, I noted that my tutorial project had an error. The error
> is as follows:
> CHKJ3000E: WAR Validation Failed:
> org.eclipse.jst.j2ee.commonarchivecore.internal.exception.De ploymentDescriptorLoadException:
> WEB-INF/web.xml AreaProject March 17, 2005 3:10:50 PM
>
> The other interesting thing is that the
> /AreaProject/WebContent/WEB-INF/web.xml file is completely blank.
> When I tried to create the project I got an error dialog titled "Save
> problems" and stating that "Save could not be completed. Some related
> files meay have already been saved. Reason: Connection timed out: connect"
>
> I've tried re-installing eclipse and WTP, but no fix.
>
> Thanks for any help.
>
> cm
>
> Seng Phung-Lu wrote:
>
>> Hi,
>> I've seen this exception when there are conflicting or multiple
>> activation.jar files. Is there another activation.jar on your
>> machine? Maybe you could try a file search.
>
>
>> Seng
>
>
>
>> chan wrote:
>>
>>> configuration:
>>> eclipse 3.1M5a, SDK 1.4.2, Tomcat 4.1
>>> installed WTP and all associated zip and jar files as per
>>> instructions on the WTP getting started web page.
>>>
......
|
|
|
Powered by
FUDForum. Page generated in 0.03853 seconds