XML 2 JSON marshaling fails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

XML 2 JSON marshaling fails

catshout
Dear all,

with following snippet

		<camel:dataFormats>
			<camel:xmljson id="xmljson" />
		</camel:dataFormats>

		<camel:route>
			<camel:from uri="file:/home/cas/camel/EVENTXML" />
			<camel:marshal ref="xmljson" />
			<camel:to uri="file:/home/cas/camel/EVENTJSON" />
		</camel:route>

I'm getting following error while deploying the route

java.lang.NoClassDefFoundError: nu/xom/ParentNode
...
java.lang.ClassNotFoundException: nu.xom.ParentNode not found by org.apache.servicemix.bundles.json-lib

Does anyone have an idea about this?

Best
-Gerald