Thanks JB. I think some thing has changes in the current version of
Eclipse and it does not export these packages and they are not available
for import in the PDE.
Is there a workaround? What happens if I remove the javax.security.auth*
from system packages?
Regards,
Raj
On Tuesday 07 October 2014 05:28 PM, Jean-Baptiste Onofré wrote:
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