Yes I cleaned and build multiple times. More over its not able to locate the .jsp files, which I had declared in web.xml file.
Here is the complete stack trace: HTTP ERROR 404 Problem accessing /vipegconsole/common/error-exception.jsp. Reason: Not Found Caused by: 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) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:575) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:276) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:103) at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:566) at javax.servlet.http.HttpServlet.service(HttpServlet.java:735) 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) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:428) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:370) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:949) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:1011) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Unknown Source) On Sat, Dec 13, 2014 at 4:22 PM, Lukasz Lenart <lukaszlen...@apache.org> wrote: > > Did you use clean action and then build to recompile all the JSPs? > > (on mobile) > 13 gru 2014 10:53 "Arpan" <arpan.deb...@gmail.com> napisaĆ(a): > > > I am still getting the JasperException: PWC6345 exception after I delete > > ActionServlet from my web.xml file. Now my web.xml file looks as bellow : > > > > <web-app> > > > > <display-name>Managed Authentication Console</display-name> > > <description>Managed Authentication administration web > > application.</description> > > > > <!-- Struts2 configurations --> > > > > <context-param> > > <param-name> > > org.apache.tiles.impl.BasicTilesContainer.DEFINITIONS_CONFIG > </param-name> > > <param-value>/WEB-INF/tiles.xml</param-value> > > </context-param> > > > > <!-- KeyManager init params --> > > <context-param> > > <param-name>keytool-jar-file</param-name> > > <param-value>keytool.jar</param-value> > > </context-param> > > <context-param> > > <param-name>trial-ssl-cert-file</param-name> > > <param-value>verisigntestssl.x509</param-value> > > </context-param> > > <!-- Can we register and revoke MPKI keys? --> > > <context-param> > > <param-name>can-manage-mpki-keys</param-name> > > <param-value>false</param-value> > > </context-param> > > <!-- Can we add certificates? --> > > <context-param> > > <param-name>can-add-certs</param-name> > > <param-value>false</param-value> > > </context-param> > > <!-- Can we upload keys? --> > > <context-param> > > <param-name>can-upload-keys</param-name> > > <param-value>false</param-value> > > </context-param> > > > > > > <filter> > > <filter-name>struts</filter-name> > > > > > > > <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</filter-class> > > > > </filter> > > > > <filter-mapping> > > <filter-name>struts</filter-name> > > <url-pattern>*.action</url-pattern> > > </filter-mapping> > > > > > > <listener> > > > > > > > <listener-class>org.apache.struts2.tiles.StrutsTilesListener</listener-class> > > </listener> > > > > <listener> > > > > > > > <listener-class>com.verisign.mauth.conf.console.framework.ConfigContextListener</listener-class> > > </listener> > > > > > > <session-config> > > <session-timeout>60</session-timeout> > > </session-config> > > > > <welcome-file-list> > > <welcome-file>index.jsp</welcome-file> > > <welcome-file>index.html</welcome-file> > > </welcome-file-list> > > > > <error-page> > > <error-code>400</error-code> > > <location>/common/error-400.jsp</location> > > </error-page> > > <error-page> > > <error-code>401</error-code> > > <location>/common/error-401.jsp</location> > > </error-page> > > <error-page> > > <error-code>403</error-code> > > <location>/common/error-403.jsp</location> > > </error-page> > > <error-page> > > <error-code>404</error-code> > > <location>/common/error-404.jsp</location> > > </error-page> > > <error-page> > > <error-code>406</error-code> > > <location>/common/error-406.jsp</location> > > </error-page> > > <error-page> > > <error-code>500</error-code> > > <location>/common/error-500.jsp</location> > > </error-page> > > <error-page> > > <exception-type>java.lang.Exception</exception-type> > > <location>/common/error-exception.jsp</location> > > </error-page> > > > > <env-entry> > > <description>Sets the logging context for this application > > </description> > > <env-entry-name>logging-context</env-entry-name> > > <env-entry-value>uaConsoleContext</env-entry-value> > > <env-entry-type>java.lang.String</env-entry-type> > > </env-entry> > > > > > > </web-app> > > > > > > On Fri, Dec 12, 2014 at 12:51 PM, Arpan <arpan.deb...@gmail.com> wrote: > > > > > > 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) > > > > > >