0
升級到更新版本的omnifaces時出現以下錯誤。更新後出錯OmniFaces 2.6
我使用javax.faces-2.2.8-19.jar,omnifaces-2.6.jar
SEVERE: Critical error during deployment:
com.sun.faces.config.ConfigurationException:
Source Document: jar:file:/./lib/omnifaces-2.6.jar!/META-INF/faces-config.xml
Cause: Class 'org.omnifaces.el.FacesELResolver' is missing a runtime dependency: java.lang.NoClassDefFoundError: org.omnifaces.el.FacesELResolver (initialization failure)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:364)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addELResolver(ApplicationConfigProcessor.java:658)