[ http://issues.apache.org/jira/browse/AXIS2-828?page=comments#action_12420279 ]
Tomas Ruff commented on AXIS2-828: ---------------------------------- I had AXIS2-668 bug with AntCodegenTask. Started using nightly build but stuck on this issue. Currently AntCodegenTask is unusable in all builds. That is quite annoying. The only way is to run wsdl2java as standalone program from ant: <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"> .... > ExtensionUtility class is not found > ----------------------------------- > > Key: AXIS2-828 > URL: http://issues.apache.org/jira/browse/AXIS2-828 > Project: Apache Axis 2.0 (Axis2) > Type: Bug > Components: databinding > Environment: Axis2 1.0 nightly build dated June 17, 2006. > Reporter: Kent Tong > Assignee: Ajith Harshana Ranabahu > > I've trying to run wsdl2java but it fails with a ClassNotFoundException: > [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:228) > [java] at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > [java] at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > [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:52) > [java] at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:181) > [java] ... 2 more > [java] Caused by: java.lang.ClassNotFoundException: > org.apache.axis2.schema.ExtensionUtility > [java] at java.net.URLClassLoader$1.run(Unknown Source) > [java] at java.security.AccessController.doPrivileged(Native Method) > [java] at java.net.URLClassLoader.findClass(Unknown Source) > [java] at java.lang.ClassLoader.loadClass(Unknown Source) > [java] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > [java] at java.lang.ClassLoader.loadClass(Unknown Source) > [java] at java.lang.ClassLoader.loadClassInternal(Unknown Source) > [java] at java.lang.Class.forName0(Native Method) > [java] at java.lang.Class.forName(Unknown Source) > [java] at > org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:44) > [java] ... 3 more > The cause is in the SimpleDBExtension class. it is trying to load the > following class by name: > private static final String ADB_INVOKE_CLASS_NAME = > "org.apache.axis2.schema.ExtensionUtility"; > But this class is not found in the distribution. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]