Unable to deploy Custom Rest-DSL-Routing in Apache Fuse

Latest response

I am following a tutorial where I need to deploy a routing service using osgi:install command.

It is coming as failure

admin@root()> osgi:list 310
START LEVEL 100 , List Threshold: 50
ID | State | Lvl | Version | Name
----+---------+-----+---------+----------------------------------------------------------------------------------------------------
310 | Failure | 80 | 1.0.0 | RedHat GPTE Training :: Camel :: Lab :: 8 :: Routing

On checking the fuse logs I can see following error, I am running this in OpenJdk 1.8 version.

Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/common/settings/ImmutableSettings
at org.jboss.fuse.service.ElasticSearchService.init(ElasticSearchService.java:36) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_232]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_232]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_232]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_232]
at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:337) ~[!/:1.10.2]
at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:835) ~[!/:1.10.2]
at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:591) ~[!/:1.10.2]
... 40 more
Caused by: java.lang.ClassNotFoundException: org.elasticsearch.common.settings.ImmutableSettings not found by org.apache.servicemix.bundles.elasticsearch [252]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639) ~[?:?]
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80) ~[?:?]
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053) ~[?:?]
at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[?:1.8.0_232]
at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1414) ~[?:?]

Any help would be greatly appreciated.

Thanks in advance.

Responses