The import javax.ws cannot be resolved with GWT on Eclispe

I want to use some javax annotation on a GWT app. I download javax.ws.rs-api-2.0.jar here, and then include it in my project (Project/Properties/Java Build Path/Libraries/Add External Jars).

I clean my project, then I refresh my project and build it. But when I launch the Run as button, I got following error:

    [ERROR] [gwtinit] - Line 5: The import javax.ws cannot be resolved

Eclipse show me no error in my source file, what did I miss?


Source: eclipse

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.