[wsas-java-dev] [jira] Created: (WSAS-241) code generation fails
with
NoClassDefFoundError: org/apache/xerces/parsers/DOMParser when wsdl2 is
selected
Charitha Kankanamge (JIRA)
jira at wso2.org
Mon May 21 23:28:02 PDT 2007
code generation fails with NoClassDefFoundError: org/apache/xerces/parsers/DOMParser when wsdl2 is selected
-----------------------------------------------------------------------------------------------------------
Key: WSAS-241
URL: http://www.wso2.org/jira/browse/WSAS-241
Project: WSO2 WSAS-Java
Issue Type: Bug
Affects Versions: Nightly
Environment: winxp, jdk15
Reporter: Charitha Kankanamge
Assigned To: Afkham Azeez
Priority: Critical
Following error return when trying to generate client stub using wsdl2 file.
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser
at org.apache.woden.internal.DOMWSDLReader.getDocument(DOMWSDLReader.java:667)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:244)
at org.apache.woden.internal.DOMWSDLReader.readWSDL(DOMWSDLReader.java:121)
at org.apache.axis2.description.WSDL20ToAxisServiceBuilder.<init>(WSDL20ToAxisServiceBuilder.java:135)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:89)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Steps to reproduce:
================
1. Start wso2wsas
2. Go to wso2wsas_home/bin and specify following command.
wsdl2java.bat -uri http://10.100.1.244:9762/services/version?wsdl2 -wv 2.0 -o C:\wsas\dataservice\wso2wsas-1.2-SNAPSHOT\bin\out
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsas-java-dev
mailing list