I've decided to take a step back and approach this a little differently. I'm not a fan of including my dependencies within the WAB; I was just hopeful that would make it easier to get something working. Now I'm attempting to deploy each dependency as a bundle. This of course entails the usual challenge of "OSGi-ifying" several jars that aren't OSGi-ready. I'm using BND to help me, but I'm open to anyone's input on how to best rectify 3rd-party libs for OSGi.
I don't doubt that I'm also compounding my complications by attempting this "Hello World" with Scalatra, which is also new to me. Hopefully the issues I'm hitting aren't directly related to that library. Anyway, I've hit a strange class loading issue while deploying my WAB that I hope one of you understands: java.lang.NoClassDefFoundError: org/scalatra/servlet/ScalatraListener (wrong name: org/scalatra/RailsRouteMatcher$Builder) The following is my MANIFEST.MF: 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,org.x ml.sax,org.xml.sax.helpers,javax.xml.parsers,javax.naming,scala,scala.r eflect,org.slf4j,org.scalatra,org.scalatra.servlet 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 Tool: Bnd-1.50.0 -- View this message in context: http://karaf.922171.n3.nabble.com/2-3-0-Cannot-start-war-system-bundle-tp4027118p4027149.html Sent from the Karaf - User mailing list archive at Nabble.com.
