I'm importing the bundle "com.springsource.javax.ws.rs" (version 1.0.0), the bundle is active in Virgo (http://screencast.com/t/ghUDlZcwBVI) but my app is getting a NoClassDefFoundError exception when starting:
[2011-05-13 13:19:36.071] start-signalling-2 System.err SEVERE: Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
[2011-05-13 13:19:36.071] start-signalling-2 System.err java.lang.NoClassDefFoundError: Could not initialize class javax.ws.rs.core.MediaType
[2011-05-13 13:1
Here's my manifest:
Manifest-Version: 1.0
Export-Package: testapp.webshell;version="0.1";uses:="javax.ser
vlet.http,javax.ws.rs,javax.ws.rs.core,org.springframework.stereotype
,org.springframework.web.bind.annotation,org.springframework.web.serv
let"
Import-Bundle: com.springsource.javax.ws.rs;version="[1.0.0,1.0.0]"
Unversioned-Imports: *
Bundle-ClassPath: .,WEB-INF/classes,WEB-INF/lib
Bundle-Version: 0.1
Tool: Bundlor 1.0.0.RELEASE
Import-Library: org.springframework.spring;version="[3.0.0.RELEASE,3.0
.0.RELEASE]"
Bundle-ManifestVersion: 2
Bundle-SymbolicName: testapp.webshell
Web-ContextPath: /webshell
Import-Package: javax.servlet.http;version="[2.5.0,2.5.0]",javax.ws.rs
,javax.ws.rs.core,org.springframework.stereotype;version="[2.5.6,3.0.
0.RELEASE]",org.springframework.web.bind.annotation;version="[2.5.6,3
.0.0.RELEASE]",org.springframework.web.servlet;version="[2.5.6,3.0.0.
RELEASE]"
What might I be doing wrong? Thanks!