這個問題很簡單。將JBoss 5.1從EL 2.1升級到EL 2.2?
JBoss 5.1支持JSP和EL(表達式語言)2.1和Servlet 2.5。
是否可以升級或破解這個使用EL 2.2?
UPDATE:
我試了一下BalusC的回答說,並得到了以下錯誤:
2011-08-01 10:29:52,418 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (main) Unable to instantiate ExpressionFactory 'org.jboss.el.ExpressionFactoryImpl' 2011-08-01 10:29:52,441 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (main) Critical error during deployment: com.sun.faces.config.ConfigurationException: It appears the JSP version of the container is older than 2.1 and unable to locate the EL RI expression factory, com.sun.el.ExpressionFactoryImpl. If not using JSP or the EL RI, make sure the context initialization parameter, com.sun.faces.expressionFactory, is properly set.
我不知道這意味着什麼或如何解決它。爲什麼它認爲有一個低於2.1的JSP版本?
我懷疑是升級JBoss本身可能更容易。 – skaffman
@skaffman,不適用於客戶端。他們寧願打破舊版本的JBoss 5.1。感謝您的詢問。 –