4

I am using Java EE, Java 1.7, glassfish 3 and Eclipse Indigo. I have an existing web project that I built from this tutorial: http://www.tech-juice.org/2012/05/13/hello-world-with-jsf-2-0-glassfish-3-maven-svn-and-eclipse/#comment-10560. Now, I want to add RESTful web services to the project. I go to Project -> properties, Project Facets and check JAX-RS. I then click the link that says "Further configuration needed". I give a servlet class name. I am now told that "At least one user library must be selected."

What does this mean?

I have looked, but, not seen a tutorial on adding JAX-RS to an existing project.

Thanks, Scott

Doo Dah
  • 3,979
  • 13
  • 55
  • 74

1 Answers1

5

Disabling implementation library selection should just work. I believe the library configuration item exists in case you do not want to use the default implementation.

enter image description here

David J. Liszewski
  • 10,959
  • 6
  • 44
  • 57
  • 2
    That did indeed work. However, adding RESTful services was easier than that. I followed the recipe here: http://www.mkyong.com/webservices/jax-rs/resteasy-hello-world-example/ – Doo Dah Feb 19 '13 at 02:31