我无法在eclipse中部署我的应用程序并收到此错误:
加载应用程序时出现异常:java.lang.IllegalStateException:ContainerBase.addChild:start:org.apache.catalina.LifecycleException:java.lang.RuntimeException:com.sun.faces.config.ConfigurationException: 源文档:jndi:/server/application/WEB-INF/faces-config.xml 原因:无法创建“com.mycompany.fs.wbdb.server.CacheControlPhaseListener”的新实例:javax.faces.FacesException:com.mycompany.fs.wbdb.server.CacheControlPhaseListener
<?xml version='1.0' encoding='UTF-8'?>
<faces-config version="2.2"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
<application>
<resource-bundle>
<base-name>/Bundle</base-name>
<var>bundle</var>
</resource-bundle>
</application>
<lifecycle>
<phase-listener id="nocache">com.mycompany.fs.wbdb.server.CacheControlPhaseListener</phase-listener>
</lifecycle>
</faces-config>