aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Failed to convert property value of type Watch "Failed to convert property value of type New topic
Author

Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl'

santiagoruiz Ruiz
Greenhorn

Joined: Jul 30, 2012
Posts: 2
Hey, Im using Hibernate 4 and Spring and Im having this:

jul 30, 2012 11:30:36 PM org.apache.catalina.core.AprLifecycleListener init
Información: La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Archivos de programa\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Archivos de programa/Java/jre7/bin/client;C:/Archivos de programa/Java/jre7/bin;C:/Archivos de programa/Java/jre7/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\java\eclipse;;.
jul 30, 2012 11:30:37 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
Advertencia: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:BancoApp' did not find a matching property.
jul 30, 2012 11:30:37 PM org.apache.coyote.AbstractProtocol init
Información: Initializing ProtocolHandler ["http-bio-8080"]
jul 30, 2012 11:30:37 PM org.apache.coyote.AbstractProtocol init
Información: Initializing ProtocolHandler ["ajp-bio-8009"]
jul 30, 2012 11:30:37 PM org.apache.catalina.startup.Catalina load
Información: Initialization processed in 724 ms
jul 30, 2012 11:30:37 PM org.apache.catalina.core.StandardService startInternal
Información: Arrancando servicio Catalina
jul 30, 2012 11:30:37 PM org.apache.catalina.core.StandardEngine startInternal
Información: Starting Servlet Engine: Apache Tomcat/7.0.29
jul 30, 2012 11:30:41 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:41 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:41 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:41 PM org.apache.catalina.core.ApplicationContext log
Información: No Spring WebApplicationInitializer types detected on classpath
jul 30, 2012 11:30:41 PM com.sun.faces.config.ConfigureListener contextInitialized
Información: Inicializando Mojarra 2.1.0 (SNAPSHOT 20100817) para el contexto ''
jul 30, 2012 11:30:42 PM com.sun.faces.config.ConfigManager initialize
Información: Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:658)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:645)
... 12 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
... 12 more

jul 30, 2012 11:30:42 PM com.sun.faces.config.ConfigureListener contextInitialized
Grave: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
... 11 more

jul 30, 2012 11:30:42 PM org.apache.catalina.core.StandardContext listenerStart
Grave: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:290)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
... 10 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
... 11 more

jul 30, 2012 11:30:42 PM org.apache.catalina.core.StandardContext startInternal
Grave: Error listenerStart
jul 30, 2012 11:30:42 PM org.apache.catalina.core.StandardContext startInternal
Grave: Falló en arranque del Contexto [] debido a errores previos
jul 30, 2012 11:30:42 PM com.sun.faces.config.ConfigureListener contextDestroyed
Grave: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:323)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

jul 30, 2012 11:30:42 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
Información: validateJarFile(C:\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\BancoApp\WEB-INF\lib\el-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.core.StandardContext addApplicationListener
Información: El escuchador "com.sun.faces.config.ConfigureListener" ya está configurado para este contexto. La definición duplicada ha sido ignorada.
jul 30, 2012 11:30:46 PM org.apache.catalina.core.ApplicationContext log
Información: No Spring WebApplicationInitializer types detected on classpath
jul 30, 2012 11:30:46 PM org.apache.catalina.core.ApplicationContext log
Información: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
jul 30, 2012 11:30:49 PM org.apache.catalina.core.StandardContext listenerStart
Grave: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClienteService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'ClienteDAO' while setting bean property 'clienteDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClienteDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' to required type 'org.hibernate.SessionFactory' for property 'sessionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClienteDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' to required type 'org.hibernate.SessionFactory' for property 'sessionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 25 more
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' to required type 'org.hibernate.SessionFactory' for property 'sessionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:485)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1406)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1365)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
... 31 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:241)
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470)
... 37 more

jul 30, 2012 11:30:49 PM com.sun.faces.config.ConfigureListener contextInitialized
Información: Inicializando Mojarra 2.1.0 (SNAPSHOT 20100817) para el contexto '/BancoApp'
jul 30, 2012 11:30:49 PM com.sun.faces.config.ConfigManager initialize
Información: Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:658)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:645)
... 12 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
... 12 more

jul 30, 2012 11:30:49 PM com.sun.faces.config.ConfigureListener contextInitialized
Grave: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
... 11 more

jul 30, 2012 11:30:49 PM org.apache.catalina.core.StandardContext listenerStart
Grave: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:290)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
... 10 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
... 11 more

jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.RENDER_CLEAR_JAVASCRIPT_FOR_BUTTON' found, using default value false
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.RENDER_HIDDEN_FIELDS_FOR_LINK_PARAMS' found, using default value false
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.SAVE_FORM_SUBMIT_LINK_IE' found, using default value false
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS' found, using default value true
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.RENDER_VIEWSTATE_ID' found, using default value true
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.STRICT_XHTML_LINKS' found, using default value true
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.RENDER_FORM_SUBMIT_SCRIPT_INLINE' found, using default value false
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getLongInitParameter
Información: No context init parameter 'org.apache.myfaces.CONFIG_REFRESH_PERIOD' found, using default value 2
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.VIEWSTATE_JAVASCRIPT' found, using default value false
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getStringInitParameter
Información: No context init parameter 'org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS' found, using default value auto
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.REFRESH_TRANSIENT_BUILD_ON_PSS_PRESERVE_STATE' found, using default value false
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.VALIDATE_XML' found, using default value false
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig getBooleanInitParameter
Información: No context init parameter 'org.apache.myfaces.WRAP_SCRIPT_CONTENT_WITH_XML_COMMENT_TAG' found, using default value true
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig createAndInitializeMyFacesConfig
Información: Tomahawk jar not available. Autoscrolling, DetectJavascript, AddResourceClass and CheckExtensionsFilter are disabled now.
jul 30, 2012 11:30:49 PM org.apache.myfaces.shared_impl.config.MyfacesConfig createAndInitializeMyFacesConfig
Grave: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.
jul 30, 2012 11:30:49 PM org.apache.myfaces.config.FacesConfigurator feedStandardConfig
Información: Reading standard config META-INF/standard-faces-config.xml
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator getWebAppConfig
Información: Reading config /WEB-INF/faces-config.xml
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: Starting up MyFaces-package : myfaces-api in version : 2.0.2 from path : file:/C:/java/workspace/libraries/JSF%202.0%20(Apache%20Myfaces%20JSF%20Core-2.0%20API%202.0.2)/myfaces-core-2.0.2-bin/lib/myfaces-api-2.0.2.jar
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: Starting up MyFaces-package : myfaces-impl in version : 2.0.2 from path : file:/C:/java/workspace/libraries/JSF%202.0%20(Apache%20Myfaces%20JSF%20Core-2.0%20API%202.0.2)/myfaces-core-2.0.2-bin/lib/myfaces-impl-2.0.2.jar
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : tomahawk not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : tomahawk12 not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : tomahawk-sandbox not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : tomahawk-sandbox12 not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : tomahawk-sandbox15 not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : myfaces-orchestra-core not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : myfaces-orchestra-core12 not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : trinidad-api not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : trinidad-impl not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : tobago not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : commons-el not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator startLib
Información: MyFaces-package : jsp-api not found.
jul 30, 2012 11:30:50 PM org.apache.myfaces.util.ExternalSpecifications isBeanValidationAvailable
Información: MyFaces Bean Validation support disabled
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.FacesConfigurator handleSerialFactory
Información: Serialization provider : class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
jul 30, 2012 11:30:50 PM org.apache.myfaces.config.annotation.DefaultLifecycleProviderFactory getLifecycleProvider
Información: Using LifecycleProvider java.lang.String
jul 30, 2012 11:30:50 PM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces
Información: ServletContext 'C:\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\BancoApp\' initialized.
jul 30, 2012 11:30:50 PM org.apache.myfaces.webapp.AbstractFacesInitializer initFaces
Advertencia:

*******************************************************************
*** WARNING: Apache MyFaces-2 is running in DEVELOPMENT mode. ***
*** ^^^^^^^^^^^ ***
*** Do NOT deploy to your live server(s) without changing this. ***
*** See Application#getProjectStage() for more information. ***
*******************************************************************

jul 30, 2012 11:30:50 PM org.apache.catalina.core.StandardContext startInternal
Grave: Error listenerStart
jul 30, 2012 11:30:50 PM org.apache.catalina.core.StandardContext startInternal
Grave: Falló en arranque del Contexto [/BancoApp] debido a errores previos
jul 30, 2012 11:30:50 PM com.sun.faces.config.ConfigureListener contextDestroyed
Grave: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:323)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

jul 30, 2012 11:30:50 PM org.apache.catalina.core.ApplicationContext log
Información: Closing Spring root WebApplicationContext
jul 30, 2012 11:30:50 PM org.apache.coyote.AbstractProtocol start
Información: Starting ProtocolHandler ["http-bio-8080"]
jul 30, 2012 11:30:50 PM org.apache.coyote.AbstractProtocol start
Información: Starting ProtocolHandler ["ajp-bio-8009"]
jul 30, 2012 11:30:50 PM org.apache.catalina.startup.Catalina start
Información: Server startup in 13439 ms


My appContext.xml is :

<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="http://www.springframework.org/schema/beans

http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

http://www.springframework.org/schema/tx

http://www.springframework.org/schema/tx/spring-tx-3.0.xsd

http://www.springframework.org/schema/context

http://www.springframework.org/schema/context/spring-context-3.0.xsd">

<!-- Beans Declaration -->
<bean id="Cliente" class="com.banco.cliente.model.Cliente"/>

<!-- Cliente Service Declaration -->
<bean id="ClienteService" class="com.banco.cliente.service.ClienteService">
<property name="clienteDao" ref="ClienteDAO" />
</bean>

<!-- Cliente DAO Declaration -->
<bean id="ClienteDAO" class="com.banco.cliente.dao.ClienteDAO">
<property name="sessionFactory" ref="SessionFactory" />
</bean>

<!-- Data Source Declaration -->
<bean id="DataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource" destroy-method="close">
<property name="driverClass" value="org.postgresql.Driver"/>
<property name="jdbcUrl" value="jdbc:postgresql://localhost:5432/Prueba" />
<property name="user" value="postgres" />
<property name="password" value="admin" />
</bean>

<!-- Session Factory Declaration -->
<bean id="SessionFactory" class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
<property name="dataSource" ref="DataSource" />
<property name="annotatedClasses">
<list>
<value>com.banco.cliente.model.Cliente</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</prop>
<prop key="hibernate.show_sql">true</prop>
</props>
</property>
</bean>

<!-- Enable the configuration of transactional behavior based on annotations -->
<tx:annotation-driven transaction-manager="txManager"/>

<!-- Transaction Manager is defined -->
<bean id="txManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager">
<property name="sessionFactory" ref="SessionFactory"/>
</bean>

</beans>


Plis help I need to get work on this!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl'