严重: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: Unable to compile class for JSP: 出现这样的错误一般是有语法错误 仔细阅读错误提示,就会发现错误……或者是缺少符号,或者符号写错,按照错误提示的意思,分析,或者有关键行的提示 这种错误一般为<% %>中的错误,如下面的一些例子: --------------------------------------------------…
2010-9-21 9:42:18 org.apache.catalina.core.StandardWrapperValve invoke严重: Servlet.service() for servlet jsp threw exceptionorg.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 38 in the generated java fileThe method getJspApplicationContext(ServletContext) is undefined for the type JspFactory Stacktrace: at org.apache.jasper.c…
1,serialVersionUID 用来表明类的不同版本间的兼容性。如果你修改了此类, 要修改此值。否则以前用老版本的类序列化的类恢复时会出错。为了在反序列化时,确保类版本的兼容性,最好在每个要序列化的类中加入private static final long serialVersionUID这个属性,具体数值自己定义。 2,控制串行化对象文件版本的,实现了serializable接口的类都应该写这个东西. 在警告上点左键就可以自…