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) > > >