facebook

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

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #334834 Reply

    Mork
    Participant

    After working through the REST demo a while back, this class

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

    was not marked as understood (red x). MyEcilpse had no ideas how to resolve the issue when I clicked the red x in the margin.

    The project was set up to use a Singleton.

    Since it’s clearly a class that’s needed, so why did MyEclipse get confused just because I picked Java 7 or some other project setup option?

    Seems like a bug to me that you have to make sure you pick just the right version of everything for it to work.

    Is this an issue that’s now been resolved with better project option checking by MyEclipse?

    Thanks,

    #334884 Reply

    support-swapna
    Moderator

    Mork,

    I could replicate the issue at my end. I have raised a bug for the dev team to work on it.

    To get the application working you have to add “JAX-RS 1.1 Server Libraries (Project Jersey 1.4)” library in addition to the libraries that are specified in the tutorial.

    Sorry for inconvenience caused.

    Let us know if you see any issues.

    #334888 Reply

    Mork
    Participant

    @support-swapna wrote:

    Mork,

    I could replicate the issue at my end. I have raised a bug for the dev team to work on it.

    To get the application working you have to add “JAX-RS 1.1 Server Libraries (Project Jersey 1.4)” library in addition to the libraries that are specified in the tutorial.

    Sorry for inconvenience caused.

    Let us know if you see any issues.

    This same issue was raised back in 2011 on your board here.

    I’m glad you noted is as a bug now.

    FYI: I did create a Jersey 1.4 project.

    Thanks. 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: import com.sun.jersey.spi.resource.Singleton

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