Hello,

we are currently experimenting with Karaf EIK (self-built version with
sources from github, 3.0.0-SNAPSHOT). The background is that we want to
OSGify the GUI or a Web application. The manifest for the war is already set
up so it can be deployed in Karaf with Pax-Web, and everything works well.

We have some non-OSGi jars as Maven dependencies which are packaged to
WEB-INF/lib when building the war. When starting the UI bundle in Eclipse
with Karaf as target platform (of course with all necessary platform bundles
added), I receive a ClassNotFound for the WEB-INF/lib jars. So the
.classpath mechanism seems not to work.

Does anybody know the trick how to handle this? Of course there would be the
dirty way to copy the jars to some folder in the project's root directory
(in the Eclipse workspace) and take care that they are neglected during
packaging. But possibly there is a better way.

Best Regards,
Jochen



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-EIK-classpath-for-Maven-Dependencies-tp4037320.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to