Hi,

You can take a look on the wiring with bundle:tree-show. You will see
where the javax.net.ssl coming is coming.

Anyway, it seems to be an issue with your bundle/MANIFEST.

Regards
JB

On 24/07/2019 10:37, djawaica wrote:
> The bundle is build with:
> Eclipse IDE for Enterprise Java Developers.
> Version: 2019-03 (4.11.0)
> Build id: 20190314-1200
> 
> Confirmes to R4 and is running in Eclipse environment perfect.
> The class is imported:
> import javax.net.ssl.SSLContext;
> otherwise it will not be build.
> 
> After build export with wizard: Deployable plug-ins and fragments
> 
> It seems as Karaf is unable to find the path to javax.net.ssl.SSLContext.
> avax.net.ssl.SSLContext is part of the JRE System library (rt.jar).
> So, why is Karaf unable to find the class-file?
> 
> First I thought: Difference between build jdk and running jdk - but they are
> the same.
> Missing Import-Package: javax.net.ssl ? No- was there.
> 
> Downloaded new Karaf Distribution
> Deleted Import-Package: javax.net.ssl
> Stored Manifest
> Inserted Import-Package: javax.net.ssl
> again stored Manifest
> 
> --> and now it is running  !!! ???
> 
> 
> 
> 
> --
> Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html
> 

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

Reply via email to