I have a basic java project wherein I have imported the jersey-client-1.19.jar externally in my java build (using eclipse). I am trying to write a basic jersey client to make a RESTful call to a web service. As soon as I try to import the ClientResponse class, eclipse complains about -
the type javax.ws.rs.ext.runtimedelegate$headerdelegate cannot be resolved. It is indirectly referenced from required .class files.
Eclipse auto correct takes me to my build paths. But I have had no luck fixing this. Googled for this but did not find anything.
I am missing something basic here. Any help is appreciated.
1 Answer
Never mind. Fixed it by trying to import jars from jersey library. The jsr311-api-1.1.1.jar import fixed the issue.
1ncG1vNJzZmirpJawrLvVnqmfpJ%2Bse6S7zGiorp2jqbawutJoam1xZW2EcnyOoqqsrZVixKrAx2agpqifp8GqusZmmqilXajCr3nJnqmsnalirrG1jJyjop2eqXqkuMiepa2qlai9sLrSng%3D%3D