mvn test fails with NoClassDefFoundError
----------------------------------------
Key: SYNAPSE-400
URL: https://issues.apache.org/jira/browse/SYNAPSE-400
Project: Synapse
Issue Type: Bug
Components: Transports
Affects Versions: NIGHTLY
Environment: Maven 2.0.8 on MacOS X
Maven 2.0.9 on Windows
Reporter: Andreas Veithen
Priority: Minor
Running mvn test in the transports module fails with the following error (for
multiple test cases):
java.lang.NoClassDefFoundError: org/apache/woden/resolver/URIResolver
at
org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:60)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:597)
at
org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:237)
at
org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:68)
at
org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)
at
org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:147)
at
org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:133)
...
The problem comes from the fact that Surefire doesn't include Woden in the test
classpath. This is strange since Woden is a dependency of axis2-kernel.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]