java - HTTP status 500 - org.apache.jasper.JasperException: Unable to compile class for JSP -
i getting http status 500 exception. can tell me why issue persist?
http status 500 - org.apache.jasper.jasperexception: unable compile class jsp type exception report message org.apache.jasper.jasperexception: unable compile class jsp description server encountered internal error prevented fulfilling request. exception javax.servlet.servletexception: org.apache.jasper.jasperexception: unable compile class jsp org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:515) org.apache.struts2.dispatcher.filterdispatcher.dofilter(filterdispatcher.java:419) root cause org.apache.jasper.jasperexception: unable compile class jsp org.apache.jasper.jspcompilationcontext.compile(jspcompilationcontext.java:672) org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:357) org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:390) org.apache.jasper.servlet.jspservlet.service(jspservlet.java:334) javax.servlet.http.httpservlet.service(httpservlet.java:790) org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) org.apache.struts2.dispatcher.servletdispatcherresult.doexecute(servletdispatcherresult.java:139) org.apache.struts2.dispatcher.strutsresultsupport.execute(strutsresultsupport.java:178) com.opensymphony.xwork2.defaultactioninvocation.executeresult(defaultactioninvocation.java:348) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:253) com.opensymphony.xwork2.interceptor.defaultworkflowinterceptor.dointercept(defaultworkflowinterceptor.java:221) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.validator.validationinterceptor.dointercept(validationinterceptor.java:150) org.apache.struts2.interceptor.validation.annotationvalidationinterceptor.dointercept(annotationvalidationinterceptor.java:48) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.conversionerrorinterceptor.intercept(conversionerrorinterceptor.java:123) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:167) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.staticparametersinterceptor.intercept(staticparametersinterceptor.java:105) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.checkboxinterceptor.intercept(checkboxinterceptor.java:83) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.fileuploadinterceptor.intercept(fileuploadinterceptor.java:268) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.modeldriveninterceptor.intercept(modeldriveninterceptor.java:74) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.scopedmodeldriveninterceptor.intercept(scopedmodeldriveninterceptor.java:127) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.profilingactivationinterceptor.intercept(profilingactivationinterceptor.java:107) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.debugging.debugginginterceptor.intercept(debugginginterceptor.java:206) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.chaininginterceptor.intercept(chaininginterceptor.java:115) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.i18ninterceptor.intercept(i18ninterceptor.java:143) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.prepareinterceptor.dointercept(prepareinterceptor.java:121) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.servletconfiginterceptor.intercept(servletconfiginterceptor.java:170) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.aliasinterceptor.intercept(aliasinterceptor.java:123) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.exceptionmappinginterceptor.intercept(exceptionmappinginterceptor.java:176) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.impl.strutsactionproxy.execute(strutsactionproxy.java:50) org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:504) org.apache.struts2.dispatcher.filterdispatcher.dofilter(filterdispatcher.java:419) root cause java.util.nosuchelementexception java.util.arraylist$itr.next(arraylist.java:834) org.apache.jasper.compiler.validator$validatevisitor.getjspattribute(validator.java:1385) org.apache.jasper.compiler.validator$validatevisitor.visit(validator.java:562) org.apache.jasper.compiler.node$paramaction.accept(node.java:989) org.apache.jasper.compiler.node$nodes.visit(node.java:2377) org.apache.jasper.compiler.node$visitor.visitbody(node.java:2429) org.apache.jasper.compiler.validator$validatevisitor.visit(validator.java:583) org.apache.jasper.compiler.node$includeaction.accept(node.java:1063) org.apache.jasper.compiler.node$nodes.visit(node.java:2377) org.apache.jasper.compiler.node$visitor.visitbody(node.java:2429) org.apache.jasper.compiler.node$visitor.visit(node.java:2435) org.apache.jasper.compiler.node$root.accept(node.java:474) org.apache.jasper.compiler.node$nodes.visit(node.java:2377) org.apache.jasper.compiler.validator.validateexdirectives(validator.java:1841) org.apache.jasper.compiler.compiler.generatejava(compiler.java:217) org.apache.jasper.compiler.compiler.compile(compiler.java:373) org.apache.jasper.compiler.compiler.compile(compiler.java:353) org.apache.jasper.compiler.compiler.compile(compiler.java:340) org.apache.jasper.jspcompilationcontext.compile(jspcompilationcontext.java:657) org.apache.jasper.servlet.jspservletwrapper.service(jspservletwrapper.java:357) org.apache.jasper.servlet.jspservlet.servicejspfile(jspservlet.java:390) org.apache.jasper.servlet.jspservlet.service(jspservlet.java:334) javax.servlet.http.httpservlet.service(httpservlet.java:790) org.apache.tomcat.websocket.server.wsfilter.dofilter(wsfilter.java:52) org.apache.struts2.dispatcher.servletdispatcherresult.doexecute(servletdispatcherresult.java:139) org.apache.struts2.dispatcher.strutsresultsupport.execute(strutsresultsupport.java:178) com.opensymphony.xwork2.defaultactioninvocation.executeresult(defaultactioninvocation.java:348) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:253) com.opensymphony.xwork2.interceptor.defaultworkflowinterceptor.dointercept(defaultworkflowinterceptor.java:221) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.validator.validationinterceptor.dointercept(validationinterceptor.java:150) org.apache.struts2.interceptor.validation.annotationvalidationinterceptor.dointercept(annotationvalidationinterceptor.java:48) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.conversionerrorinterceptor.intercept(conversionerrorinterceptor.java:123) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.parametersinterceptor.dointercept(parametersinterceptor.java:167) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.staticparametersinterceptor.intercept(staticparametersinterceptor.java:105) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.checkboxinterceptor.intercept(checkboxinterceptor.java:83) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.fileuploadinterceptor.intercept(fileuploadinterceptor.java:268) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.modeldriveninterceptor.intercept(modeldriveninterceptor.java:74) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.scopedmodeldriveninterceptor.intercept(scopedmodeldriveninterceptor.java:127) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.profilingactivationinterceptor.intercept(profilingactivationinterceptor.java:107) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.debugging.debugginginterceptor.intercept(debugginginterceptor.java:206) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.chaininginterceptor.intercept(chaininginterceptor.java:115) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.i18ninterceptor.intercept(i18ninterceptor.java:143) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.prepareinterceptor.dointercept(prepareinterceptor.java:121) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept(methodfilterinterceptor.java:86) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.interceptor.servletconfiginterceptor.intercept(servletconfiginterceptor.java:170) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.aliasinterceptor.intercept(aliasinterceptor.java:123) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) com.opensymphony.xwork2.interceptor.exceptionmappinginterceptor.intercept(exceptionmappinginterceptor.java:176) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:224) com.opensymphony.xwork2.defaultactioninvocation$2.doprofiling(defaultactioninvocation.java:223) com.opensymphony.xwork2.util.profiling.utiltimerstack.profile(utiltimerstack.java:455) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:221) org.apache.struts2.impl.strutsactionproxy.execute(strutsactionproxy.java:50) org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:504) org.apache.struts2.dispatcher.filterdispatcher.dofilter(filterdispatcher.java:419)
**note : ** full stack trace of root cause available in apache tomcat/7.0.54
logs.
it working fine while running in local tomcat server 7.45
after deploying in server not working.
refer bug report. might need use newer tomcat.
Comments
Post a Comment