升级到Primefaces 4.0时,无法在Tomcat 7.0.41上部署应用程序

时间:2013-11-11 19:20:40

标签: java maven tomcat7

运行我的Web应用程序时收到此消息。它构建良好但在部署期间,它每次都会因此错误而失败:

SEVERE: The web application registered the JDBC driver[oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

任何帮助表示感谢。

供参考: 我的pom.xml是:

      <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-api</artifactId>
        <version>2.1.26</version>
      </dependency>
      <dependency>
        <groupId>com.sun.faces</groupId>
        <artifactId>jsf-impl</artifactId>
        <version>2.1.26</version>
      </dependency>        

    <dependency>
        <groupId>org.primefaces.extensions</groupId>
        <artifactId>primefaces-extensions</artifactId>
        <version>1.0.0.RC1</version>
    </dependency>
    <dependency>
        <groupId>org.primefaces</groupId>
        <artifactId>primefaces</artifactId>
        <version>4.0.RC1</version>
    </dependency>

以下是我在Tomcat日志中获得的完整错误列表:

SEVERE: Critical error during deployment: 
com.sun.faces.config.ConfigurationException: java.lang.Exception: No Function 
Found on type: org.primefaces.util.ComponentUtils with signature: 
java.lang.String resolveWidgetVar(java.lang.String)
SEVERE: Error listenerStart
Nov 11, 2013 2:44:44 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context startup failed due to previous errors
Nov 11, 2013 2:44:44 PM javax.faces.FactoryFinder$FactoryManager getFactory
SEVERE: Application was not properly initialized at startup, could not find 
Factory: javax.faces.application.ApplicationFactory. Attempting to find backup.
Nov 11, 2013 2:44:44 PM com.sun.faces.config.ConfigureListener contextDestroyed
SEVERE: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Could not find backup for factory javax.faces.
application.ApplicationFactory. 
SEVERE: The web application [/taams-web] registered the JDBC driver    
[oracle.jdbc.OracleDriver] but failed to unregister it when the web application 
was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.

0 个答案:

没有答案