Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10297

karaf-camel-log: ClassNotFoundException: javax.servlet.Servlet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • fuse-7.3
    • fuse-7.3
    • Examples
    • None
    • % %
    • Fuse 7.3 Sprint 42 - Bug fix

      https://github.com/fabric8-quickstarts/karaf-camel-log/tree/karaf-camel-log-1.0.0.fuse-730031 and probably others karaf quickstarts from fabric8-quickstarts

      2019-03-07 08:32:10,456 | DEBUG | FelixStartLevel      | o.a.c.i.o.Activator              | 91 - org.apache.camel.camel-core - 2.21.0.fuse-730056 | Bundle started: io.fabric8.fabric8-karaf-checks
      2019-03-07 08:32:10,457 | ERROR | FelixStartLevel      | i.f.fabric8-karaf-checks         | 94 - io.fabric8.fabric8-karaf-checks - 3.0.11.fuse-730052 | bundle io.fabric8.fabric8-karaf-checks:3.0.11.fuse-730052 (94)BundleComponentActivator : Unexpected failure enabling component holder io.fabric8.karaf.k8s.check
      java.lang.NoClassDefFoundError: javax/servlet/Servlet
      	at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:?]
      	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:?]
      	at java.lang.Class.getConstructors(Class.java:1651) ~[?:?]
      	at org.apache.felix.scr.impl.inject.ComponentConstructor.<init>(ComponentConstructor.java:94) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.inject.ComponentMethodsImpl.initComponentMethods(ComponentMethodsImpl.java:106) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.initDependencyManagers(AbstractComponentManager.java:1008) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractComponentManager.java:1026) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleComponentManager.java:936) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:765) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enableInternal(AbstractComponentManager.java:666) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.manager.AbstractComponentManager.enable(AbstractComponentManager.java:432) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.manager.ConfigurableComponentHolder.enableComponents(ConfigurableComponentHolder.java:665) ~[56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.BundleComponentActivator.initialEnable(BundleComponentActivator.java:339) [56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.Activator.loadComponents(Activator.java:381) [56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.Activator.access$200(Activator.java:49) [56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.Activator$ScrExtension.start(Activator.java:263) [56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.AbstractExtender.createExtension(AbstractExtender.java:196) [56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:169) [56:org.apache.felix.scr:2.1.14]
      	at org.apache.felix.scr.impl.AbstractExtender.modifiedBundle(AbstractExtender.java:49) [56:org.apache.felix.scr:2.1.14]
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:482) [?:?]
      	at org.osgi.util.tracker.BundleTracker$Tracked.customizerModified(BundleTracker.java:415) [?:?]
      	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:232) [?:?]
      	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444) [?:?]
      	at org.apache.felix.framework.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:915) [?:?]
      	at org.apache.felix.framework.EventDispatcher.fireEventImmediately(EventDispatcher.java:834) [?:?]
      	at org.apache.felix.framework.EventDispatcher.fireBundleEvent(EventDispatcher.java:516) [?:?]
      	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4579) [?:?]
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2174) [?:?]
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373) [?:?]
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308) [?:?]
      	at java.lang.Thread.run(Thread.java:748) [?:?]
      Caused by: java.lang.ClassNotFoundException: javax.servlet.Servlet not found by io.fabric8.fabric8-karaf-checks [94]
      	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:357) ~[?:?]
      	... 31 more
      
      

            ggrzybek Grzegorz Grzybek
            llowinge@redhat.com Lukas Lowinger
            Lukas Lowinger Lukas Lowinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: