One problem is that your Import-Package header is wrong.  You should list 
packages, not classes.  How did you get this manifest?  If with bnd somehow can 
you show the instructions?

I'd expect you would need both javax.servlet and javax.servlet.http at least....

david jencks

On Dec 21, 2012, at 1:44 PM, barnesjd wrote:

> Hey JB, thanks for taking interest in my problem.  
> 
> BTW, if I do not include ServletContextListener as an import, I get a
> ClassNotFoundException
> 
> Here is the contents of my manifest:
> 
> Manifest-Version: 1.0
> Bnd-LastModified: 1355890216531
> Bundle-ManifestVersion: 2
> Bundle-Name: com.adtran.aoe.core.ui
> Bundle-SymbolicName: com.adtran.aoe.core.ui
> Bundle-Version: 0.1
> Created-By: 1.6.0_25 (Sun Microsystems Inc.)
> Import-Package:
> org.osgi.framework;version="[1.5,2)",javax.servlet.ServletContextListener
> Include-Resource: C:\aoe-modular\com.adtran.aoe.core.ui\src\main\resourc
> es,C:\aoe-modular\com.adtran.aoe.core.ui\src\main\py,C:\aoe-modular\com
> .adtran.aoe.core.ui\target\resource_managed\main
> Private-Package: .
> Web-ContextPath: helloworld
> Webapp-Context: helloworld
> Bundle-ClassPath: WEB-INF/classes,WEB-INF/lib/akka-actor-2.0.3.jar,WEB-I
> NF/lib/config-0.3.1.jar,WEB-INF/lib/grizzled-slf4j_2.9.2-0.6.9.jar,WEB-
> INF/lib/logback-classic-1.0.6.jar,WEB-INF/lib/logback-core-1.0.6.jar,WE
> B-INF/lib/org.osgi.core-4.3.0.jar,WEB-INF/lib/rl_2.9.2-0.3.2.jar,WEB-IN
> F/lib/scala-compiler.jar,WEB-INF/lib/scalate-core-1.5.3.jar,WEB-INF/lib
> /scalate-util-1.5.3.jar,WEB-INF/lib/scalatra-2.1.1.jar,WEB-INF/lib/scal
> atra-scalate-2.1.1.jar,WEB-INF/lib/slf4j-api-1.6.5.jar,WEB-INF/lib/scal
> a-library.jar
> Tool: Bnd-1.50.0
> 
> 
> 
> 
> Here is the output of features:list -i
> 
> karaf@root> features:list -i
> State         Version           Name            Repository  Description
> [installed  ] [2.3.0          ] config          karaf-2.3.0 Provide OSGi
> ConfigAdmin support
> [installed  ] [7.6.7.v20120910] jetty           karaf-2.3.0 Provide Jetty
> engine support
> [installed  ] [2.3.0          ] http            karaf-2.3.0 Implementation
> of the OSGi HTTP service
> [installed  ] [2.3.0          ] http-whiteboard karaf-2.3.0 Provide HTTP
> Whiteboard pattern support
> [installed  ] [2.3.0          ] war             karaf-2.3.0 Turn Karaf as a
> full WebContainer
> [installed  ] [2.3.0          ] kar             karaf-2.3.0 Provide KAR
> (KARaf archive) support
> [installed  ] [2.3.0          ] ssh             karaf-2.3.0 Provide a SSHd
> server on Karaf
> [installed  ] [2.3.0          ] management      karaf-2.3.0 Provide a JMX
> MBeanServer and a set of MBeans in Karaf
> [installed  ] [2.9.2          ] scala-library   repo-0
> 
> 
> 
> --
> View this message in context: 
> http://karaf.922171.n3.nabble.com/2-3-0-Cannot-start-war-system-bundle-tp4027118p4027125.html
> Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to