You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Ajith Ranabahu <aj...@gmail.com> on 2005/06/15 06:04:17 UTC

Re: [Axis2] NoClassDefFoundError when using Axis2 Eclipse plugin

Hi,
Hmmm... The error tells me the cimson implementation is missing. The
crimson DOM implementation is used to do the XSL transformation.
This crimson implementation is packed with the JRE 1.4.x. So please
check the JDK/JRE version you are using.
You can use the commandline tool but still it would use the JRE 1.4
classes. So unless you fix the JRE problem. code generator won't work!

On 6/14/05, Dovholuk, Clint <Cl...@globalcrossing.com> wrote:
> Hello All,
> 
> I'm trying to use the Axis2 plugin for Eclipse.  I get to the end of the
> wizard where I click "Finish" and "nothing happens". So I looked in
> {workspace}/.metadata/.log for the issue and I see this error over and
> over ( every time I clicked the "Finish" button ) ;)
> 
> !ENTRY org.eclipse.ui 4 0 2005-06-14 12:00:28.629
> !MESSAGE org/apache/crimson/tree/XmlDocument
> !STACK 0
> java.lang.NoClassDefFoundError: org/apache/crimson/tree/XmlDocument
>         at
> org.apache.axis.wsdl.codegen.emitter.MultiLanguageClientEmitter.createDO
> MDocuementForInterface(MultiLanguageClientEmitter.java:433)
>         at
> org.apache.axis.wsdl.codegen.emitter.MultiLanguageClientEmitter.writeSke
> leton(MultiLanguageClientEmitter.java:207)
>         at
> org.apache.axis.wsdl.codegen.emitter.MultiLanguageClientEmitter.emitSkel
> eton(MultiLanguageClientEmitter.java:305)
>         at
> org.apache.axis.wsdl.codegen.CodeGenerationEngine.generate(CodeGeneratio
> nEngine.java:99)
>         at
> org.apache.axis.tool.codegen.eclipse.CodeGenWizard.doFinish(CodeGenWizar
> d.java:102)
>         at
> org.apache.axis.tool.codegen.eclipse.CodeGenWizard.performFinish(CodeGen
> Wizard.java:78)
>         at
> org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:67
> 6)
>         at
> org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:34
> 9)
>         at
> org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:556)
>         at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
>         at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:844)
>         at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3058)
>         at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2691)
>         at org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
>         at org.eclipse.jface.window.Window.open(Window.java:787)
>         at
> org.eclipse.ui.actions.NewWizardAction.run(NewWizardAction.java:181)
>         at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
>         at
> org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
> tionContributionItem.java:538)
>         at
> org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut
> ionItem.java:488)
>         at
> org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont
> ributionItem.java:400)
>         at
> org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
>         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:844)
>         at
> org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3058)
>         at
> org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2691)
>         at
> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1716)
>         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1680)
>         at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:3
> 65)
>         at
> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
>         at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
>         at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActiva
> tor.java:226)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 376)
>         at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
> 163)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
>         at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>         at org.eclipse.core.launcher.Main.run(Main.java:973)
>         at org.eclipse.core.launcher.Main.main(Main.java:948)
> 
> 
> 
> Is there something I'm missing?  I downloaded fresh eclipse (RC2) and
> the M2 release of Axis2 and extracted them.
> 
> Any help is appreciated... (including recommending another tool for
> auto-generation of code) :)
> 
> Thanks,
> -Clint
> 


-- 
Ajith Ranabahu