NullPointerException deploying Spring/MyFaces Applicationon Tomcat 8.0.0 RC5

岁酱吖の 提交于 2019-11-29 07:49:10

Looks like you have been bitten by this change in EL 3.0

The default coercion for nulls to non-primitive types (except String) returns nulls. For instance, a null coerced to Boolean now returns a null, while a null coerced to boolean returns false.

Try setting the system property org.apache.el.parser.COERCE_TO_ZERO to true to force the EL 2.2 and earlier behaviour.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!