严重: Servlet.service() for servlet [jsp] threw exception 
javax.el.ELException: The identifier [package] is not a valid Java identifier as required by section 1.19 of the EL specification (Identifier ::= Java language identifier). This check can be disabled by setting the system property org.apache.el.parser.SKIP_IDENTIFIER_CHECK to true. 
	at org.apache.el.parser.AstIdentifier.setImage(AstIdentifier.java:177) 
	at org.apache.el.parser.ELParser.Identifier(ELParser.java:1816) 

原因:JSP新建的变量名和JAVA关键字重复,更改即可

评论关闭
IT源码网

微信公众号号:IT虾米 (左侧二维码扫一扫)欢迎添加!