That is probably caused by two factors: 1. The Synapse trunk uses the wrong version of Axiom, namely 1.2.9-SNAPSHOT. However, the Axis2 trunk has been switched to 1.2.10-SNAPSHOT. 2. The Synapse POMs refer to a Maven repository at WSO2 that contains completely outdated (08-Feb-2010) Axiom snapshots with version 1.2.9-SNAPSHOT. On the other hand, since Axiom trunk is at version 1.2.10-SNAPSHOT, the Apache snapshot repository no longer contains 1.2.9-SNAPSHOT (Nexus automatically removes outdated snapshots).
Depending on the state of your local Maven repository, you will therefore end up running Synapse with a current Axis2 snapshot and a 6 month old Axiom snapshot. Not surprising that this fails. I'm hesitating between changing the axiom.version property in the Synapse POMs to 1.2.10-SNAPSHOT (or 1.2.9) and removing the dependency altogether so that it comes in as a transitive dependency through Axis2 (with whatever version is expected by Axis2). Andreas On Sat, Jul 31, 2010 at 11:00, Charith Wickramarachchi <[email protected]> wrote: > Hi, > I m getting an runtime error while starting the synapse instance i got from > building from trunk. > Following is the error > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/axiom/util/UIDGenerator > at org.apache.axis2.description.AxisOperation.<init>(AxisOperation.java:90) > at org.apache.axis2.description.AxisOperation.<init>(AxisOperation.java:95) > at > org.apache.axis2.description.TwoChannelAxisOperation.<init>(TwoChannelAxisOperation.java:52) > at > org.apache.axis2.description.InOutAxisOperation.<init>(InOutAxisOperation.java:44) > at > org.apache.synapse.Axis2SynapseController.deploySynapseService(Axis2SynapseController.java:554) > at > org.apache.synapse.Axis2SynapseController.createSynapseEnvironment(Axis2SynapseController.java:329) > at org.apache.synapse.ServerManager.start(ServerManager.java:185) > at org.apache.synapse.SynapseServer.main(SynapseServer.java:65) > I tried this even after building the Axiom and Axis2-kernel and rebuilding > synapse. > thanks , > Charith > > > -- > Charith Dhanushka Wickramarachchi > http://charithwiki.blogspot.com/ > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
