我使用的是JSF 2,primefaces 2.2.RC2,google-appengine
我最近从myfaces-2.0.0.beta3移动到myfaces-bundle-2.0.3。
使用这个新版本,我很频繁地得到下面的异常,在实际的会话超时之前。ViewExpiredException
/login.jsfNo saved view state could be found for the view identifier: /login.jsf
Caused by:
javax.faces.application.ViewExpiredException - /login.jsfNo saved view state could be found for the view identifier: /login.jsf
我已将会话超时设置为10分钟。
通过查看其他博客,我已将facelets.BUILD_BEFORE_RESTORE参数设置为true。 但是,这并不利于
我不能让钻嘴鱼科-2.0.4-FCS与GAE工作。
修改WebConfiguration.java后,mojarra-2.0.3-FCS正在使用GAE。
但我得到新的异常频繁
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at
java.util.ArrayList.rangeCheck(ArrayList.java:571) at
java.util.ArrayList.get(ArrayList.java:349) at javax.faces.component.AttachedObjectListHolder.restoreState(AttachedObjectListHolder.java:161) at
javax.faces.component.UIComponentBase.restoreState(UIComponentBase.java:1428) –