title: Can not use the com.sun.net.HTTPServer.httpserver
body: <p>I am using Eclipse Indigo and Java jdk7.</p>
  
  <p>I'd like to create a litte webserver, but I am not able to use sun's webserver.</p>
  
  <p>When I type:</p>
  
  <pre><code>{
   com.sun.net.httpserver.httpserver server;
  }
  </code></pre>
  
  <p>I get the following Eclipse-Error-Message:</p>
  
  <pre><code>Description Resource    Path    Location    Type
  Access restriction: The type HttpServer is not accessible due to restriction
      on required library C:\jdk1.7.0\jre\lib\rt.jar
  Server.java /REST-Server/src/com/test/restserver    line 7  Java Problem
  </code></pre>
  
  <p>What am I doing wrong here?
  I do not have to include any other jar? Do I?</p>