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.