Expression Language skip identifier check in tomcat 7

后端 未结 5 1863
一向
一向 2020-12-28 10:53

I got following error :

SEVERE: Servlet.service() for servlet jsp threw exception
javax.el.ELException: The identifier [case] is not a valid Java identifier          


        
5条回答
  •  粉色の甜心
    2020-12-28 11:24

    We can also add following command to catalina.sh file under the tomcat_home dir/bin

    CATALINA_OPTS="-Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"

提交回复
热议问题