Please ignore this mail .. I realized that I recompiled one of the axis2 classes with jdk 1.5
Sorry for the bothering From: Soyer, Muhammed A. [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 1:25 PM To: [email protected] Subject: axis2 1.4.1 wsdl2java fails with jdk 1.4.2_08-b03 Hi, I need to deploy my client code to an Oracle AS that is running on jdk 1.4.2_08-b03. So I am trying to generate the stub files with this jdk but I am getting error .. I did some googling and I found that this is because I am trying to run a java code compiled with an upper version of jdk. But in axis2 docs it is saying that it requires jdk 1.4 or up. And Most of the stub was being generated .. Any suggestions ? Thanks a lot d:\jdev\axis2-1.4.1\bin\wsdl2java.bat -u -uri GCWebAPI-Modified.wsdl -o xm4 -s -d xmlbeans -sp -p com.zzz.gc . . . [INFO] Resolving schema with publicId [http://htng.org/PWS/2008A/GuestSelfService/Booking/Types] and systemId [Booking.xsd] Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:126) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224) ... 2 more Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:115) ... 3 more Caused by: java.lang.UnsupportedClassVersionError: org/apache/axis2/namespace/Constants (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) 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 org.apache.axis2.xmlbeans.CodeGenerationUtility.findBase64Types(CodeGenerationUtility.java:349) at org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:202) ... 8 more
