Hello,

I m running an OSGI platform which send mails. I m using the library
javax/net/SocketFactory which is inside rt.jar but my OSGI platform
doesnt find.

Exception in thread "SendMailThread" java.lang.NoClassDefFoundError:
javax/net/SocketFactory
        at
com.sun.mail.util.SocketFetcher.getSocketFactory(SocketFetcher.java:262)
        at
com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:150)
        at
com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1359)

how can include this library in runtime enviroment?

thank you ,

M
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to