写了第一个程序,结果显示
HTTP ERROR 500
Problem accessing /JSPStudy/01/hello.jsp. Reason: JSP support not configured
提示信息:
2016-01-12 10:25:06.605:INFO::main: Logging initialized @743msStarting preview server on port 8080
Modules:
JSPStudy (/JSPStudy)
2016-01-12 10:25:06.805:INFO:oejs.Server:main: jetty-9.2.13.v20150730
2016-01-12 10:25:07.101:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /JSPStudy, did not find org.eclipse.jetty.jsp.JettyJspServlet
2016-01-12 10:25:07.144:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@edf4efb{/JSPStudy,file:/D:/code/j2ee/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/JSPStudy/,AVAILABLE}{D:/code/j2ee/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/JSPStudy}
2016-01-12 10:25:07.229:INFO:oejs.ServerConnector:main: Started ServerConnector@39fb3ab6{HTTP/1.1}{0.0.0.0:8080}
2016-01-12 10:25:07.229:INFO:oejs.Server:main: Started @1372ms
2016-01-12 10:25:17.045:INFO:/JSPStudy:qtp548246552-16: No JSP support. Check that JSP jars are in lib/jsp and that the JSP option has been specified to start.jar
根据这个文章的方法http://blog.csdn.net/waiwai4701/article/details/26228723。下了许多版本的jetty都没用。