Jetty and/or Servlet-api in JavaFX breaks deployment
问题 I try to embed (use) Jetty into my JavaFX 2.2 applet (which runs in a browser). My problem is that, to host servlets I need to include the servlet-api-3.0.jar also (for javax.servlet namespaces) besides jetty-server.jar, jetty-servlet.jar and jetty-util.jar. If I include the servlet-api.jar, my project compiles, but when I run it inside the browser, the deployment fails with the "JavaFX application could not launch due to system configuration (show error details). See java.com/javafx for