Hi Raj,

even if the packages are provided by the JRE (and defined in etc/jre.properties), you have to import it in your bundle: it's what we name the system packages.

Regards
JB

On 10/07/2014 01:07 PM, Rajbir Saini wrote:
Hi,

I am using Apache Karaf with JAAS login module. My application throws
java.lang.NoClassDefFoundError exception. If I import that
javax.security.auth* packages in my bundle this problem is resolved. As
these packages are provided by JRE, do I need to import them? I am using
Karaf 3.0.1.

As I use Maven + Tycho for development, javax.security.auth* packages
are not available for import and this causes PDE to show errors in
manifest file.

Regards,

Raj





--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to