[ https://issues.apache.org/jira/browse/KARAF-7937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nabila Aziz Shifat updated KARAF-7937: -------------------------------------- Description: Hi I have upgraded my camel project from java 8 to Java 11 and camel version 2.22.0 to 3.17.0 and deployed in Apache karaf 4.4.6. I have deployed a blueprint.xml which is not getting started. The blueprint I have has unmarshalType in json element and so it is complaining. How can I upgrade the following lines so it is aligned with camel version. <dataFormats> <json id="json" library="Jackson" prettyPrint="true" unmarshalTypeName="com.symcor.gmc.beans.JobDetails" /> </dataFormats> {{<marshal ref="json" />}} was: Hi I have upgraded my camel project from java 8 to Java 11 and deployed in Apache karaf 4.4.6. I have deployed a blueprint.xml which is not getting started. I have camel-jackson, camel-jaxb installed and active, yet it's giving me the following error. What could be the reason? The following is the error: org.osgi.framework.BundleException: Unable to resolve Symcor_CCdemo_Afifo.xml [411](R 411.3): missing requirement [Symcor_CCdemo_Afifo.xml [411](R 411.3)] osgi.wiring.package; (osgi.wiring.package=org.apache.camel.dataformat.jackson) Unresolved requirements: [[Symcor_CCdemo_Afifo.xml [411](R 411.3)] osgi.wiring.package; (osgi.wiring.package=org.apache.camel.dataformat.jackson)] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398) ~[?:?] at org.apache.felix.framework.Felix.startBundle(Felix.java:2308) ~[?:?] at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006) ~[?:?] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1260) [!/:3.7.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1233) [!/:3.7.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.startAllBundles(DirectoryWatcher.java:1221) [!/:3.7.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:515) [!/:3.7.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:365) [!/:3.7.4] at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:316) Thanks! Summary: unmarshalType in json element not allowed (was: org.apache.camel.dataformat.jackson missing from apache karaf) > unmarshalType in json element not allowed > ----------------------------------------- > > Key: KARAF-7937 > URL: https://issues.apache.org/jira/browse/KARAF-7937 > Project: Karaf > Issue Type: IT Help > Components: karaf > Affects Versions: 4.4.6 > Reporter: Nabila Aziz Shifat > Priority: Critical > > Hi I have upgraded my camel project from java 8 to Java 11 and camel version > 2.22.0 to 3.17.0 and deployed in Apache karaf 4.4.6. I have deployed a > blueprint.xml which is not getting started. The blueprint I have has > unmarshalType in json element and so it is complaining. How can I upgrade the > following lines so it is aligned with camel version. > <dataFormats> > <json id="json" library="Jackson" prettyPrint="true" > unmarshalTypeName="com.symcor.gmc.beans.JobDetails" /> > </dataFormats> > > {{<marshal ref="json" />}} -- This message was sent by Atlassian Jira (v8.20.10#820010)