I am getting this message when I run my web application. It builds fine but during deploying, It fails everytime by this error:
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.
Any help appreciated.
FYI: My pom.xml is:
<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>
Following is full list of errors I have got in Tomcat log:
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.