axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject Re: WSDL2Java in Axis2 is not working?
Date Mon, 10 Jul 2006 05:07:57 GMT
Hi Bruno/all,
I've found (and corrected) an error in the build script that copied
the adb-codegen-xxxx.jar into the wrong location of the distribution.
That is what caused the problem in the nightlies and should be alright
by now (Though I'm not sure whether an update of the buildscripts is
needed at whereever the build is run).
If you need the codegen to work with the nightly, you'll have to get
the adb-codegen-xxx.jar from the war distribution and copy it to the
lib directory.


Ajith

On 7/10/06, Bruno Negrao <bnegrao@gmail.com> wrote:
> At least the eclipse plugin is Axis2_Code_Generator is creating
> everything fine. I'll use this one instead (it's much easier to use).
>
> thank you,
> bruno.
>
> On 7/9/06, Bruno Negrao <bnegrao@gmail.com> wrote:
> > Guys,
> >
> > I'm trying to use wsdl2java from the latest nightly snapshot (axis2)
> > and I'm still having errors. The wsdl file is attached.
> >
> > Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException:
> > java.lang.RuntimeException: java.lang.ClassNotFoundException:
> > org.apache.axis2.schema.ExtensionUtility
> >         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:235)
> >         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> >         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> > Caused by: java.lang.RuntimeException:
> > java.lang.ClassNotFoundException:
> > org.apache.axis2.schema.ExtensionUtility
> >         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:52)
> >         at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:188)
> >         ... 2 more
> > Caused by: java.lang.ClassNotFoundException:
> > org.apache.axis2.schema.ExtensionUtility
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> >         at java.lang.Class.forName0(Native Method)
> >         at java.lang.Class.forName(Class.java:164)
> >         at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:44)
> >         ... 3 more
> >
> > thank you,
> > bruno.
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message