Hi You need to install the google gson. Its likely a camel-xxx component you are using, and therefore you need to install that in karaf first with
feature:install camel-xxx Where xxx is the component name. On Fri, Oct 4, 2019 at 3:42 PM Jaiprakash Mewada <jaiprakash.mew...@hotwaxsystems.com> wrote: > > Hi Team, > > I have created stand alone program in Karaf with Camel code. Somewhere in > my program, I am using gson to marshal-unmarshal the data. When I am trying > to start my application with this command: "bundle:start > mvn:co.hotwax/CamelApplication/1.0.0-SNAPSHOT", I am getting below error. > > *Error executing command: Error executing command on bundles: Error > starting bundle 96: Unable to resolve > co.hotwax.debug-utils.CamelApplication [96](R 96.0): missing requirement > [co.hotwax.debug-utils.CamelApplication [96](R 96.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0))) > Unresolved requirements: [[co.hotwax.debug-utils.CamelApplication [96](R > 96.0)] osgi.wiring.package; > (&(osgi.wiring.package=com.google.gson)(version>=2.8.0)(!(version>=3.0.0)))]* > > Can someone please guide me to understand this error, what exactly it means. > > *Note*: When I am removing the gson code, then program is getting started > successfully. > > > On Thu, Sep 26, 2019 at 9:45 AM Jean-Baptiste Onofré <j...@nanthrax.net> > wrote: > > > Hi, > > > > As side note, you can run Camel/Ofbiz applications (all together) in > > Karaf standalone/static distribution: > > > > http://blog.nanthrax.net/?p=893 > > > > Regards > > JB > > > > On 25/09/2019 12:39, Jaiprakash Mewada wrote: > > > Hi Team, > > > > > > I am beginner in Apache Camel. I have ofbiz code running on different > > jvm. > > > I want Camel code to be running on different jvm. I need to send the data > > > from ofbiz to third party using camel's route. > > > > > > It looks like I need to run standalone application of Camel. Can someone > > > please guide me, what is the best possible way to implement this ? > > > > > > And If I implement separate standalone application, then how would I call > > > the code of Camel from ofbiz which is running on different jvm ? > > > > > > > -- > > Jean-Baptiste Onofré > > jbono...@apache.org > > http://blog.nanthrax.net > > Talend - http://www.talend.com > > > > > -- > *Thanks & Regards,* > *Jaiprakash Mewada* > Senior Enterprise Software Engineer > > *HotWax Systems* -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2