title: Restlet in OSGI can not find com/sun/net/httpserver/HttpHandler
body: <p>I am trying to use <em>Restlet</em> in embedded OSGi environment. I have added the org.restlet.jar version 2.3.0 in the class path of my restlet test bundled. But it kept giving me the following error.</p>
  
  <pre><code>java.lang.NoClassDefFoundError: com/sun/net/httpserver/HttpHandler
  </code></pre>
  
  <p>The documentation says that this jar should be enough but it is currently not working. The bundle is started by an <em>Equinox Framework</em> which is started by a standalone launcher, later to be used outside of Eclipse environment.</p>
  
  <p>Is there another jar fie that I should add to get the proper server connector? I will not be using servlets so the <em>Restlet</em> connectors are the only options. </p>
  
  <p>When I manually start the bundle I get the following warning:</p>
  
  <pre><code>WARNING: No available server connector supports the required protocols: 'HTTP' . Please add the JAR of a matching connector to your classpath.
  </code></pre>
  
  <p>I had already spent a lot of time to get it working with no luck. Thanks in advance!</p>