Hi Diptiv,

Yes, I think its an IDE issue, more precisely, how the compiler uses
CLASSPATH and others to resolve its dependencies.

I have a similar issue in Eclipse with javax annotations, I have this
message:
___________________________
Description     Path    Location        Type    Resource
Access restriction: The type WebServiceClient is not accessible due to
restriction on required library C:\Program
Files\Java\jdk1.6.0_20\jre\lib\rt.jar....
____________________________________________

But with bndtools this access restriction leads a  compilation ERROR...



diptiv wrote:
> 
> Update: It could be that the issue is with Intellij rather than CXF.
> Through command prompt, I can see the geronimo-jaxws_2.2_spec dependency
> is getting transitively pulled in from cxf-rt-frontend-jaxws 2.3, but in
> IntelliJ I do not see that dependency in the dependency graph for
> cxf-rt-frontend-jaxws.
> 
> So I'm not sure now if the problem is in IntelliJ or CXF's dependency.
> 
> The weird thing is if I use CXF-2.2.9, then the geronimo-jaxws_2.1_spec
> jar dependency is getting pulled in correctly in Idea - IntelliJ.
> 
> Anyone run into similar issues? Or thoughts on this?
> 


-----
--
Pierre
-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/WebServiceClient-annotation-in-CXF-2-3-generated-code-wont-compile-in-Java-5-IDE-tp3358501p3364325.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to