This content has been marked as final.
Show 2 replies
-
1. Re: OSGi bundle, javaee-api-6.0 library and javax.activation
ffang Sep 9, 2011 4:56 AM (in response to noosy)Hi,
What do you mean by "so my project includes the javaee-api-6.0 library"?
Do you mean 1. you have javaee-api-6.0 dependency in pom or 2.your OSGi bundle embed the javaee-api-6.0.jar?
You shouldn't embed javaee-api-6.0.jar nor have javaee-api-6.0 dependency in pom, and in your pom.xml you can just
use
if you need use
javax.activation.DataHandler.
Btw, we have cxf-jaxrs example shipped with kit so you may need take a look.
Freeman
-
2. Re: OSGi bundle, javaee-api-6.0 library and javax.activation
noosy Sep 10, 2011 5:01 AM (in response to ffang)I don't have the jee dependency in my pom but it appears as an indirect dependency in my NetBeans dependencies list. I'm not at work at the moment so I can't try anything til Monday but when I am back at work I will locate what dependency is using it and try and rid myself of it.
Thanks.