我幾乎沒有部署經驗。請幫忙。Glassfish項目似乎沒有在Tomcat服務器上運行
它顯示了以下錯誤:
HTTP Status 500 - Unable to compile class for JSP:
type Exception report
message Unable to compile class for JSP:
description The server encountered an internal error that prevented it from fulfilling this request.
例外:
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [15] in the generated java file: [C:\Users\DFMC\AppData\Roaming\NetBeans\8.0\apache-tomcat-8.0.3.0_base\work\Catalina\localhost\Majha_Capitals\org\apache\jsp\AdminHome_jsp.java]
The type AdminHome_jsp must implement the inherited abstract method HttpJspBase.getIncludes()
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:199)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:467)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:380)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:355)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:342)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:403)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:347)
javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
note The full stack trace of the root cause is available in the Apache Tomcat/8.0.3 logs.
的Apache Tomcat/8.0.3
您對tomcat 8的項目有錯誤的依賴關係。我對Java EE並不是非常熟悉。我之前看到過這個錯誤,它與你的依賴關係有關。我會專注於碧玉的版本。 – 2014-10-27 08:22:26