TitleAn error occurred at line: 23 in the jsp file: /Comment.jsp Generated servlet error: Comment.jsp cannot be compiled: changenote cannot be resolved
Date09-Oct-2006 23:23:36 EEST
Version2.4.66 and 2.4.68
SubmitterHarryMetske
Bug criticalityCriticalBug
Browser versionFirefox
Bug statusClosedBug
PageProvider usedcom.ecyrd.jspwiki.providers.VersioningFileProvider
Servlet ContainerTomcat 5.5.17
Operating SystemSuSE Linux 10.1 64bit
URLany page, just press the "Add Comment"
Java version1.4.2

The following shows up :

org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 23 in the jsp file: /Comment.jsp Generated servlet error: changenote cannot be resolved org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:397) org.apache.jasper.compiler.Compiler.compile(Compiler.java:288) org.apache.jasper.compiler.Compiler.compile(Compiler.java:267) org.apache.jasper.compiler.Compiler.compile(Compiler.java:255) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:556) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:99) com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:71)

The String changenote has not been declared, it should probably be declared as a member variable (at least that solves the problem in my situation)

regards, Harry Metske


This is still the case in 2.4.69..............

--HarryMetske, 13-Oct-2006


Fixed in 2.4.71

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-4) was last changed on 17-Oct-2006 23:43 by JanneJalkanen