Hi, Ajith. Latest nightly build seems to have this problme, still. I tried axis2-std-SNAPSHOT-bin.zip 09-Jul-2006 16:28.
But, I downloaded axis2-adb-codegen-SNAPSHOT.jar from Nightly snapshots, and place it in lib directory. Then WSDL2Java works fine. Regards, kinichiro --- Ajith Ranabahu <[EMAIL PROTECTED]> wrote: > Hi, > Sorry about the trouble. There was an error in the build script that > prevented a necessary jar from being copied in to the dist. > The next nightly should be ok > > Ajith > > On 7/9/06, Kinichiro Inoguchi <[EMAIL PROTECTED]> wrote: > > Hi, > > With current nightly builds, can you generate stub by WSDL2Java ? > > > > I'm trying to generate stub code for version service, > > But I got these errors. > > > > C:\work>%AXIS2_HOME%\bin\wsdl2java -uri > > http://localhost:8080/axis2/services/version?wsdl -p test -o stub > > Using AXIS2_HOME: C:\work\axis2-std-SNAPSHOT-bin > > Using JAVA_HOME: C:\j2sdk1.4.2_04 > > 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:199) > > at java.security.AccessController.doPrivileged(Native > Method) > > at > java.net.URLClassLoader.findClass(URLClassLoader.java:187) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > > at > > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > > at > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:141) > > at > > > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:44) > > ... 3 more > > C:\work> > > > > With 1.0 release, this works find and I could get stub code. > > > > Does anyone know about this ? > > > > Thanks, > > kinichiro > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > Ajith Ranabahu > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
