title: Why does Eclipse Kepler SR1 error with : JAX-RS 2.0 requires Java 1.7 or newer
body: <p>I have a maven project that give the following two errors</p>
  
  <p>JAX-RS (REST Web Services) 2.0 can not be installed : One or more constraints have not been satisfied.<br>
  JAX-RS (REST Web Services) 2.0 requires Java 1.7 or newer.</p>
  
  <p>I have JDK 1.6 installed (I cant change this)</p>
  
  <p>The project facets does NOT have JAX-RS ticked.</p>
  
  <p>The project facets has java 1.6 set.</p>
  
  <p>The project facets has Dynamic Web Project 2.4 set.</p>
  
  <p>I have following plugins</p>
  
  <p>Sonar 3.2.0
  MercurialEclipse 2.10
  EclEmma 2.2.1</p>
  
  <p>The pom.xml is just this...</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
      &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
      &lt;groupId&gt;com.fake.company&lt;/groupId&gt;
      &lt;artifactId&gt;customerservice-war&lt;/artifactId&gt;
      &lt;version&gt;2.0.0-SNAPSHOT&lt;/version&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>the web.xml is</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"&gt;
      &lt;display-name&gt;Customer Service&lt;/display-name&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>Cleaning or "Update Maven Project" makes no difference.</p>
  
  <p>Note: This is in eclipse-jee-kepler-SR1-win32-x86_64.
  Note: Version eclipse-jee-kepler-win32-x86_64 does not give the error.</p>
  
  <p>Note: New workspace does not change the error.</p>
  
  <p>Note: I'm using JDK.1.6.0_43</p>
  
  <p>The only error I can see related to this in the ".log" file is..</p>
  
  <p>!ENTRY org.eclipse.osgi 2 1 2013-10-16 15:07:58.816
  !MESSAGE NLS unused message: JaxrsProjectConfigurator_The_project_does_not_contain_required_facets in: org.eclipse.m2e.wtp.jaxrs.internal.messages</p>
  
  <p>Adding the facet, wont let me apply it since it says I need Java 1.7</p>
  
  <p>JSR339 (<a href="http://download.oracle.com/otn-pub/jcp/jaxrs-2_0-fr-spec/jsr339-jaxrs-2.0-final-spec.pdf?AuthParam=1381932823_3d235d93090d7ad1709113fead897636" rel="nofollow noreferrer">JSR339</a>) states "The API will make extensive use of annotations and will
  require J2SE 6.0 or later"</p>
  
  <p>Any ideas?</p>