Hi All,

I am migrating from struts1 to struts2. After migrating many action classes
and jsp files,
in the web.xml If I remove the "ActionServlet" entry and url-mapping and
trying to access the application I am getting bellow error.

Am I missing something?

Thanks for any help in advance.

org.apache.jasper.JasperException: PWC6345: There is an error in invoking
javac. A full JDK (not just JRE) is required at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:92)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:378)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:119)
at
org.apache.jasper.compiler.Jsr199JavaCompiler.compile(Jsr199JavaCompiler.java:208)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:384) at
org.apache.jasper.compiler.Compiler.compile(Compiler.java:453) at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:848) at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:686) at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:501)

Reply via email to