12:34:19,729 SEVERE [org.apache.myfaces.renderkit.ErrorPageWriter] (http--127.0.0.1-8080-2) An exception occurred: javax.faces.FacesException: java.io.FileNotFoundException: /sections/login/header.xhtml Not Found in ExternalContext as a Resource
Mark Spritzler wrote:When you get a Spring exception, the best way to read it is to scroll to the bottom and work your way up looking for the first caused by. That will give you your actual real problem. While you did not post your entire stack trace here for us to scroll to the bottom.
I can guess that near the bottom it says in the root caused by
No bean named 'entityManagerFactory' is defined.
Mark
12:16:46,989 INFO [stdout] (MSC service thread 1-7) 2011-09-20 12:16:46,987 [MSC service thread 1-7] ERROR (FrameworkServlet.java:314) � Context initialization failed 12:16:46,989 INFO [stdout] (MSC service thread 1-7) org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flowExecutor': Cannot create inner bean '(inner bean)' of type [org.springframework.webflow.config.FlowExecutionListenerLoaderFactoryBean] while setting bean property 'flowExecutionListenerLoader'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#1':Cannot resolve reference to bean 'jpaFlowExecutionListener' while setting bean property 'listeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaFlowExecutionListener' defined in ServletContext resource [/WEB-INF/spring/transportes-webflow.xml]: Cannot resolve reference to bean 'entityManagerFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'entityManagerFactory' is defined.