exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
D:\Program Files\tomcat-5.0.28\work\Catalina\localhost\myweb\org\apache\jsp\function_jsp.java:14: cannot resolve symbol
symbol : class TextEditor
location: class org.apache.jsp.function_jsp
_jspx_fnmap_0= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction( "my:numWords ", TextEditor.class, "numWords ", new Class[] {java.lang.String.class});
^
Generated servlet error:
D:\Program Files\tomcat-5.0.28\work\Catalina\localhost\myweb\org\apache\jsp\function_jsp.java:15: cannot resolve symbol
symbol : class TextEditor
location: class org.apache.jsp.function_jsp
_jspx_fnmap_1= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction( "my:numCharacters ", TextEditor.class, "numCharacters ", new Class[] {java.lang.String.class});
^
2 errors
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
------解决方案--------------------
源码帖出来看看
------解决方案--------------------