it says [java] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.ClassNotFoundException: org.apache.axis2.schema.ExtensionUtility
this means adb-codegen.jar is not at the class path. can you check whether you lib directory contain this file and you have set the AXIS2_HOME correctly. Amila. On 7/30/07, Deepal Jayasinghe <[EMAIL PROTECTED]> wrote: > > Hi Amila, > Do you have any idea about this issues ? > > Thanks > Deepal > > David Robertson wrote: > > I'm getting the following error when using wsdl2java with the nightly > > build of axis2-1.3-RC2. I am new to using the nightly builds, and was > > trying to troubleshoot an exception handling error to see if it had > > been fixed yet. Any suggestions? > > > > Thanks, > > > > -David Robertson > > > > wsdl2java: > > [delete] Deleting 1 files from > > /home/oscars/oscars/branches/java/resources > > [java] Retrieving schema at 'OSCARS.xsd', relative to > > 'file:/home/oscars/oscars/branches/java/conf/server/'. > > [java] Exception in thread "main" > > org.apache.axis2.wsdl.codegen.CodeGenerationException: > > java.lang.RuntimeException: java.lang.ClassNotFoundException: > > org.apache.axis2.schema.ExtensionUtility > > [java] at > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate( > CodeGenerationEngine.java:265) > > > > [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java > :35) > > [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java > :24) > > [java] Caused by: java.lang.RuntimeException: > > java.lang.ClassNotFoundException: > > org.apache.axis2.schema.ExtensionUtility > > [java] at > > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage( > SimpleDBExtension.java:53) > > > > [java] at > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate( > CodeGenerationEngine.java:218) > > > > [java] ... 2 more > > [java] Caused by: java.lang.ClassNotFoundException: > > org.apache.axis2.schema.ExtensionUtility > > [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) > > [java] at java.security.AccessController.doPrivileged(Native > > Method) > > [java] at > > java.net.URLClassLoader.findClass(URLClassLoader.java:188) > > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > > [java] at > > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) > > [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) > > [java] at > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) > > [java] at java.lang.Class.forName0(Native Method) > > [java] at java.lang.Class.forName(Class.java:164) > > [java] at > > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage( > SimpleDBExtension.java:45) > > > > [java] ... 3 more > > [java] Java Result: 1 > > [echo] > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > Thanks, > Deepal > ................................................................ > "The highest tower is built one brick at a time" > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.
