NoClassDefFoundError (javax/wsdl/WSDLException) exception occurred when
building some of the service-stubs with fresh m2 repo, this is because
maven-antrun-plugin imports axis2-client artifacts from M2 repo to Ant
calsspath but some of the service-stub project don't define axis2-client as
a dependency, if axis2-client already on M2 repo or if it downloaded by a
previous built module then there is no exception occur. I have corrected
this behavior on r144531 by adding axis2-client dependency but following
modules still subject to above exception.
*service-stubs/org.wso2.carbon.rule.ws.stub/4.0.2
service-stubs/org.wso2.carbon.appfactory.artifact.storage.stub/1.0.2
service-stubs/org.wso2.carbon.apimgt.handlers.security.stub/4.0.2
service-stubs/org.wso2.carbon.apimgt.keymgt.stub/4.0.2*
Above modules still depend on axis2 1.6.1.wso2v5 not 1.6.1.wso2v6. Please
correct Axis2 version and test above modules with 1.6.1.wso2v6 version and
add following dependency to each POM file to get rid of
NoClassDefFoundError.
<dependency>
<groupId>org.apache.axis2.wso2</groupId>
<artifactId>axis2-client</artifactId>
<version>1.6.1.wso2v6</version>
</dependency>
Thanks !
Sagara Gunathunga
Technical Lead; WSO2, Inc.; http://wso2.com
V.P Apache Web Services ; http://ws.apache.org/
Blog ; http://ssagara.blogspot.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev