Forum Stats

  • 3,769,445 Users
  • 2,252,967 Discussions
  • 7,875,030 Comments

Discussions

Version Problem i got some issues...

953871
953871 Member Posts: 4
Dear Sir/Madam,
First I'm using Tomcat 5.5 That time my process are working well done suddenly i changed Tomcat 7.0 that time i got issues.All screen are working but one screen not working.
Please give some solution for me ....
Below the errors are coming What i do?

org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 54 in the generated java file
apache cannot be resolved or is not a field

Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:102)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:331)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:469)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:378)
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:646)
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:722)
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:320)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)

Answers

  • EJP
    EJP Member Posts: 32,920 Gold Crown
    You study the Tomcat release notes for 5.5 and 7, where you discover that 7 is using a much later version of JSP, so you study the differences between the jSP versions, looking all the time for the word 'incompatible'. If you don't get anywhere with that, you post the relevant piece of JSP here.
  • 953871
    953871 Member Posts: 4
    I solved the Problem I changed my jsp page Variable name like String org=null; before, now i changed String org1=null; .

    Org variable not accepted in Tomcat 7.0 now changed org1 it's accept

    Thanks.
  • Kayaman
    Kayaman Member Posts: 3,844 Silver Trophy
    I seriously doubt that was the source of the problem, but if it works now I guess it doesn't matter.
This discussion has been closed.