What tool exactly do you use to perform code generation? Alternatively, do you have a full stacktrace?
Andreas On Feb 2, 2016 9:13 AM, "M. Arif Wicaksana" <a...@belalangtempur.com> wrote: > Dear all, > > we used to develop web service using predefined WSDL (attached) on > Eclipse. Our development tools were Eclipse (Luna R2), Tomcat 1.8.0, and > Axis2 1.6.x. and it worked fine. > > Now, I want to create web service based on the same WSDL file, but using > Axis2 1.7.0 instead of 1.6.4. > > I got the following error during WSDL-to-code generation: > Exception occurred during code generation for the WSDL : > java.lang.NoClassDefFoundError: org/apache/ws/commons/schema/XmlSchema > > I understand from the release note that Axis2 1.7.0 has upgraded its > XMLSchema hence it is backward incompatible with Axis2 1.6.x. But I am not > sure how can I relate this to my problem. From what I understand, Axis2 > complains that XMLSchema is not present. So, I import XMLSchema jar into my > project build path. But the same error still occurs. > > Would you mind to point out how to solve this problem? > > Thanks! > > Regards, > Arif > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org >