JSP deployment Issue
dheerajmct Apr 25, 2017 1:11 AMHI,
Im trying to deploy simple helloworld jsp war to jbos eap 6.4 but im getting the following error .
JBWEB000309: type JBWEB000066: Exception report
JBWEB000068: message PWC6033: Error in Javac compilation for JSP
JBWEB000069: description JBWEB000145: The server encountered an internal error that prevented it from fulfilling this request.
JBWEB000070: exception
org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
PWC6199: Generated servlet error:
source value 1.5 is obsolete and will be removed in a future release
PWC6199: Generated servlet error:
target value 1.5 is obsolete and will be removed in a future release
PWC6199: Generated servlet error:
To suppress warnings about obsolete options, use -Xlint:-options.
PWC6199: Generated servlet error:
package javax.servlet does not exist
PWC6199: Generated servlet error:
package javax.servlet.http does not exist
PWC6199: Generated servlet error:
package javax.servlet.jsp does not exist
PWC6199: Generated servlet error:
package org.apache.jasper.runtime does not exist
PWC6199: Generated servlet error:
package org.apache.jasper.runtime does not exist
PWC6199: Generated servlet error:
cannot find symbol
symbol: class JspFactory
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
package org.glassfish.jsp.api does not exist
PWC6199: Generated servlet error:
cannot find symbol
symbol: class HttpServletRequest
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class HttpServletResponse
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class ServletException
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: variable JspFactory
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class PageContext
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class HttpSession
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class ServletContext
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class ServletConfig
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class JspWriter
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class JspWriter
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class PageContext
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
package org.glassfish.jsp.api does not exist
PWC6199: Generated servlet error:
cannot find symbol
symbol: class SkipPageException
location: class org.apache.jsp.jsp.NewFile_jsp
PWC6199: Generated servlet error:
cannot find symbol
symbol: class ServletException
location: class org.apache.jsp.jsp.NewFile_jsp
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:473)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)