axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reneta Säll (HF/EBC) <>
Subject RE: WSDL2Java problem, Axis2 jaxbri
Date Thu, 22 Mar 2007 10:42:58 GMT
Thanks, I will try with jdk 1.5
Best regards, Reneta

This communication is confidential and intended solely for the addressee(s). Any unauthorized
review, use, disclosure or distribution is prohibited. If you believe this message has been
sent to you in error, please notify the sender by replying to this transmission and delete
the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interception, unauthorized
amendment, tampering and viruses, and we only send and receive e-mails on the basis that we
are not liable for any such corruption, interception, amendment, tampering or viruses or any
consequences thereof.



From: Amila Suriarachchi [] 
Sent: den 22 mars 2007 11:41
Subject: Re: WSDL2Java problem, Axis2 jaxbri

use jdk 1.5. jaxb only works with jdk 1.5

On 3/22/07, Reneta Säll (HF/EBC) <> wrote: 

	Hi all,
	When I run the code generator in Axis2, get this error:
	C:\axis2\bin>WSDL2java -uri bank.wsdl  -d jaxbri -g
	Using AXIS2_HOME:   C:\axis2
	Using JAVA_HOME:    C:\j2sdk1.4.2_12
	Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/xml/bi
	d/JAXBContext (Unsupported major.minor version 49.0)
	        at java.lang.ClassLoader.defineClass0(Native Method)
	        at java.lang.ClassLoader.defineClass(
	        at Method)
	        at java.lang.ClassLoader.loadClass(
	        at sun.misc.Launcher$AppClassLoader.loadClass(
	        at java.lang.ClassLoader.loadClass(
	        at org.apache.axis2.wsdl.codegen.extension.JAXBRIExtension.engage(JAXBR
	        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGene
	        at org.apache.axis2.wsdl.WSDL2Code.main(
	        at org.apache.axis2.wsdl.WSDL2Java.main(
	What is the problem?


Amila Suriarachchi,
WSO2 Inc. 

View raw message