karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From guiramos <guira...@gmail.com>
Subject NoClassDefFoundError: javax/servlet/ServletContainerInitializer
Date Thu, 12 May 2016 15:00:37 GMT
Hi there.Fresh installation. Whichever command I use from the list below I
get the same error.feature:install httpfeature:install jettyfeature:install
websconsoleERROR: Bundle org.apache.aries.spifly.dynamic.bundle [54]
EventDispatcher: Error during dispatch. (java.lang.NoClassDefFoundError:
javax/servlet/ServletContainerInitializer)java.lang.NoClassDefFoundError:
javax/servlet/ServletContainerInitializer        at
java.lang.ClassLoader.defineClass1(Native Method)        at
java.lang.ClassLoader.defineClass(ClassLoader.java:800)        at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2370)
      
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2154)
      
at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1542)
      
at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)       
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
      
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)        at
org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1925)        at
org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:978)       
at
org.apache.aries.spifly.ProviderBundleTrackerCustomizer.addingBundle(ProviderBundleTrackerCustomizer.java:163)
      
at
org.apache.aries.spifly.ProviderBundleTrackerCustomizer.addingBundle(ProviderBundleTrackerCustomizer.java:54)
      
at
org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)     
 
at
org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:415)     
 
at
org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)       
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)       
at
org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)       
at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:916)
      
at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:835)
      
at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:517)
      
at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4541)       
at org.apache.felix.framework.Felix.startBundle(Felix.java:2172)        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:998)        at
org.apache.felix.framework.BundleImpl.start(BundleImpl.java:984)        at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:1199)
      
at
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:840)       
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1089)
      
at
org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:985)
      
at java.util.concurrent.FutureTask.run(FutureTask.java:262)        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)       
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)       
at java.lang.Thread.run(Thread.java:745)Caused by:
java.lang.ClassNotFoundException: javax.servlet.ServletContainerInitializer       
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)        at
java.net.URLClassLoader$1.run(URLClassLoader.java:355)        at
java.security.AccessController.doPrivileged(Native Method)        at
java.net.URLClassLoader.findClass(URLClassLoader.java:354)        at
java.lang.ClassLoader.loadClass(ClassLoader.java:425)        at
java.lang.ClassLoader.loadClass(ClassLoader.java:358)        at
org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:1010)
      
at
org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1595)    
  
at
org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1525)
      
at
org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)       
at
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
      
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)Are all these
pre-installed features supposed to work right away?What am I missing here?
Please, help me.



--
View this message in context: http://karaf.922171.n3.nabble.com/NoClassDefFoundError-javax-servlet-ServletContainerInitializer-tp4046597.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.

Mime
View raw message