问题
I have the latest version of netbeans and I'm trying to run the DataAppClient Sample which comes with JavaFX SDK Samples, DataAppClient imports the following packages :
com.sun.jersey.api.client.Client;
com.sun.jersey.api.client.UniformInterfaceException;
com.sun.jersey.api.client.WebResource;
com.sun.jersey.api.json.JSONConfiguration;
Netbeans shows an error sign on each of these packages says "package doesn't exist". it's clear that all these packages related to the Jersey, and all the Jersey libraries are included in the project libraries "Jersey 2.5.1 (JAX-RS RI) - ******"
I tried many of the solutions published on the net, but no one solve my issue.
How can I solve it.....
来源:https://stackoverflow.com/questions/36033117/netbeans-8-1-and-jersey-2