Hi, Seems you messed up the Camel|Activemq version in SMX 4.5.3
SMX 4.5.3 ships Camel 2.10.7 and Activemq 5.7.0 by default. I'd say change to other camel/activemq version isn't that easy, you need adjust lots of dependency versions as well and verify they can work together, and you are pretty much on your own in this case. You can use SMX 5.0.0 if you need more recent Activemq and Camel versions. ------------- Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On 2014-4-25, at 上午8:28, lyonn wrote: > Now, I am getting: > > Error while starting bundle: > file:/opt/SERVICEMIX/apache-servicemix-4.5.3/deploy/endpoint-route-0.0.1-SNAPSHOT.jar > org.osgi.framework.BundleException: Unresolved constraint in bundle > endpoint-route [208]: Unable to resolve 208.0: missing requirement [208.0] > package; > (&(package=org.apache.camel.spi)(version>=2.12.0)(!(version>=3.0.0))) > at > org.apache.felix.framework.Felix.resolveBundle(Felix.java:3564)[org.apache.felix.framework-3.2.2.jar:] > at > org.apache.felix.framework.Felix.startBundle(Felix.java:1797)[org.apache.felix.framework-3.2.2.jar:] > at > org.apache.felix.framework.BundleImpl.start(BundleImpl.java:927)[org.apache.felix.framework-3.2.2.jar:] > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1244)[7:org.apache.felix.fileinstall:3.2.4] > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1216)[7:org.apache.felix.fileinstall:3.2.4] > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:505)[7:org.apache.felix.fileinstall:3.2.4] > at > org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:291)[7:org.apache.felix.fileinstall:3.2.4] > > > > -- > View this message in context: > http://servicemix.396122.n5.nabble.com/problem-with-class-file-or-dependent-class-nested-exception-is-java-lang-NoClassDefFoundError-tp5720065p5720076.html > Sent from the ServiceMix - User mailing list archive at Nabble.com.
