This check can be disabled by setting the system property org.apache.el.parser.SKIP_IDENTIFIER_CHEC
来源:互联网 发布:电话属于网络吗 编辑:程序博客网 时间:2024/05/22 02:09
今天把之前的一个项目考到另一个myeclipse,我用的事tomcat7,启动时报错:
SEVERE: Servlet.service() for servlet jsp threw exception
javax.el.ELException: The identifier [case] 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.
查找资料才知道,这是由于在默认情况下,在tomcat 7中SKIP IDENTIFIER CHECK功能是错误的(这在tomcat 6及以下版本中是这样),我在正则表达式中使用“case”,case是标识符,因此会引发错误。
解决方法是将变量case改成其他就可以成功启动项目了,
主要原因是使用了关键字case,在使用el表达式时,不要使用关键字或与保留字。
阅读全文
0 0
- This check can be disabled by setting the system property org.apache.el.parser.SKIP_IDENTIFIER_CHEC
- This message can be disabled via the detect_slow_plugins global setting。
- This warning can be disabled by using the command line flag -Dcom.android.build.gradle.overridePath
- This warning can be disabled by using the command line flag -Dcom.android.build.gradle.overridePath
- org.apache.el.parser.ParseException--异常
- MYSQL 异常 You can change this value on the server by setting the max_allowed_packet' variable
- Mysql You can change this value on the server by setting the max_allowed_packet' variable. 异常
- 解决Mysql You can change this value on the server by setting the max_allowed_packet' variable. 异常
- File xxx.ps1 cannot be loaded because the execution of scripts is disabled on this system
- The path to the driver executable must be set by the webdriver.gecko.driver system property
- The path to the driver executable must be set by the webdriver.gecko.driver system property
- jsp页面报org.apache.el.parser.ParseException: Encountered 错误
- org.apache.el.parser.ParseException 由tomcat版本导致
- A Parser-blocking, cross-origin script is invoked via document.write. This may be blocked by the bro
- packet for query is too large <1781> 1024 >. you can change this value on the server by setting the
- Packet for query is too large (1029 > 1024). You can change this value on the server by setting the
- Packet for query is too large (1032 > 1024). You can change this value on the server by setting the
- org.apache.catalina.servlets.InvokerServlet is privileged and cannot be loaded by this web
- 如何在程序窗口中判断键盘是否按下?
- 分析域名解析的过程
- C语言实训第二天
- Logback的基本使用方法
- Linux-----scp命令
- This check can be disabled by setting the system property org.apache.el.parser.SKIP_IDENTIFIER_CHEC
- C语言基础应用
- openstack创建虚拟机流程图
- windows下python selenium+webdriver环境配置
- 如何最简单把pdf转换word格式
- Git-----搭建Git私服
- Go语言: 万物皆异步
- spring事务传播机制-REQUIRED嵌套NESTED
- “人·机”互补路径下技能人才的培养