Hi,

You can edit etc/jre.properties, and for the corresponding JRE, add the sun.misc package. It should look like:

jre-1.6= \
 sun.misc, \
 javax.accessibility, \
 ...

Restart your ServiceMix, and you should have sun.misc in the exported packages:

karaf@root> package:export |grep -i sun
     0 sun.misc; version=0.0.0

Regards
JB

On 03/27/2012 06:22 PM, nvtd4000 wrote:
In my bundle, i used sun.misc.BASE64Decoder. I also used maven-bundle-plugin
to generate MANIFEST.MF (in the import section, i saw my bundle imports
sun.misc package).
When i installed the bundle into serviceMix 4.3.0. It throwed an error
says:"Unable to resolve 334.0: missing requirement [334.0] package;
(package=sun.misc)".

I know that sun.misc package belongs to rt.jar and should be in classpath of
serviceMix.

how do i solve this problem.

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/my-bundle-requires-sun-misc-rt-jar-tp5598274p5598274.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to