日期:2014-05-16  浏览次数:20921 次

org.apache.el.parser.ParseException: Encountered "true: false" at line 1, column
2014-1-14 16:42:57 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet assembler threw exception
org.apache.el.parser.ParseException: Encountered "true: false" at line 1, column 22.
Was expecting one of:
    "(" ...
    <IDENTIFIER> ...
    <NAMESPACE> <IDENTIFIER> ...
   
at org.apache.el.parser.ELParser.generateParseException(ELParser.java:1890)
at org.apache.el.parser.ELParser.jj_consume_token(ELParser.java:1770)
at org.apache.el.parser.ELParser.NonLiteral(ELParser.java:1152)
at org.apache.el.parser.ELParser.ValuePrefix(ELParser.java:1046)
at org.apache.el.parser.ELParser.Value(ELParser.java:994)
at org.apache.el.parser.ELParser.Unary(ELParser.java:976)
at org.apache.el.parser.ELParser.Multiplication(ELParser.java:739)
at org.apache.el.parser.ELParser.Math(ELParser.java:659)
at org.apache.el.parser.ELParser.Compare(ELParser.java:471)
at org.apache.el.parser.ELParser.Equality(ELParser.java:365)
at org.apache.el.parser.ELParser.And(ELParser.java:309)
at org.apache.el.parser.ELParser.Or(ELParser.java:253)
at org.apache.el.parser.ELParser.Choice(ELParser.java:219)
at org.apache.el.parser.ELParser.Expression(ELParser.java:199)
at org.apache.el.parser.ELParser.DynamicExpression(ELParser.java:171)
at org.apache.el.parser.ELParser.CompositeExpression(ELParser.java:68)
at org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:93)
at org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:146)
at org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:190)
at org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68)
at org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:922)
at org.apache.jsp.tbm.project.main.project_005fdetail_jsp._jspService(project_005fdetail_jsp.java:222)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


在tomcat5中是没有问题的,这是tomcat6的一个Bug,在Tomcat7中也没有问题.换一下Tomcat就OK.