facebook

REST Webservice Libraries missing after upgrade

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #299422 Reply

    jlavallet
    Member

    I have (had) a web project configured to use the REST (JAX-RS) libraries. After upgrading to 7.1 from 7.0 my project no longer compiles. The following imports are underlined (error is: cannot be resolved).

    import javax.ws.rs.Consumes;
    import javax.ws.rs.FormParam;
    import javax.ws.rs.GET;
    import javax.ws.rs.HttpMethod;
    import javax.ws.rs.POST;
    import javax.ws.rs.Path;
    import javax.ws.rs.PathParam;
    import javax.ws.rs.Produces;
    import javax.ws.rs.QueryParam;
    import javax.ws.rs.core.Context;

    import com.sun.jersey.spi.resource.Singleton;

    Did the upgrade remove the jar files?

    Looking under MyEclipse > Preferrences > MyEclipse Enterprise Workbench > Project Capabilities > Web Services > REST (JAX-RS) … I notice that there are no jar files listed for each of the Library Modules except for JAX-RS 1.0.2 Mail & Multipart Libraries which does have two jars. What is going on?

    Thanks.

    #299434

    Riyad Kalla
    Member

    I’m sorry you ran into this, the project cap libraries are suppose to self-update, head back to:
    Preferrences > MyEclipse Enterprise Workbench > Project Capabilities > Web Services > REST (JAX-RS)

    and hit “Restore Defaults” and you should be all set — might need to restart so libraries re-init though.

    #299442

    jlavallet
    Member

    That took care of it. Thanks.

    #299466

    support-joy
    Member

    Good to hear that you are all set.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: REST Webservice Libraries missing after upgrade

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in