G2A Many GEOs
SHARE
TWEET

Untitled

a guest Apr 8th, 2020 165 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. abr 08, 2020 10:34:09 PM org.apache.catalina.core.ApplicationContext log
  2. INFORMACIÓN: No Spring WebApplicationInitializer types detected on classpath
  3. abr 08, 2020 10:34:09 PM org.apache.catalina.core.ApplicationContext log
  4. INFORMACIÓN: Initializing Spring root WebApplicationContext
  5. abr 08, 2020 10:34:30 PM org.apache.catalina.core.ApplicationContext log
  6. INFORMACIÓN: Initializing Spring FrameworkServlet 'dispatcher'
  7. abr 08, 2020 10:34:31 PM org.apache.catalina.core.ApplicationContext log
  8. INFORMACIÓN: ContextListener: contextInitialized()
  9. abr 08, 2020 10:34:31 PM org.apache.catalina.core.ApplicationContext log
  10. INFORMACIÓN: SessionListener: contextInitialized()
  11. abr 08, 2020 10:34:31 PM org.apache.catalina.core.ApplicationContext log
  12. INFORMACIÓN: ContextListener: attributeAdded('StockTicker', 'async.Stockticker@43e52561')
  13. abr 08, 2020 10:34:31 PM org.apache.catalina.core.ApplicationContext log
  14. INFORMACIÓN: ContextListener: attributeAdded('org.apache.jasper.compiler.TldLocationsCache', 'org.apache.jasper.compiler.TldLocationsCache@5a824f24')
  15. abr 08, 2020 10:49:01 PM org.apache.catalina.core.ApplicationContext log
  16. INFORMACIÓN: Destroying Spring FrameworkServlet 'dispatcher'
  17. abr 08, 2020 10:49:01 PM org.apache.catalina.core.ApplicationContext log
  18. INFORMACIÓN: Closing Spring root WebApplicationContext
  19. abr 08, 2020 10:49:04 PM org.apache.catalina.core.ApplicationContext log
  20. INFORMACIÓN: No Spring WebApplicationInitializer types detected on classpath
  21. abr 08, 2020 10:49:05 PM org.apache.catalina.core.ApplicationContext log
  22. INFORMACIÓN: Initializing Spring root WebApplicationContext
  23. abr 08, 2020 10:51:16 PM org.apache.catalina.core.StandardContext listenerStart
  24. GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener
  25. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'dnscUserDetailsAuthenticationProvider' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  26.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
  27.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  28.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  29.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  30.     at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
  31.     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
  32.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
  33.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
  34.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  35.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  36.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  37.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  38.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  39.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  40.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
  41.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  42.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  43.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  44.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  45.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  46.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
  47.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
  48.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  49.     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1018)
  50.     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)
  51.     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
  52.     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)
  53.     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:587)
  54.     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1814)
  55.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  56.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  57.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  58.     at java.lang.reflect.Method.invoke(Method.java:606)
  59.     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
  60.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  61.     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  62.     at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1516)
  63.     at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:911)
  64.     at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:366)
  65.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  66.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
  67.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  68.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  69.     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  70.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  71.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  72.     at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  73.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  74.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  75.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  76.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  77.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:548)
  78.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  79.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  80.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
  81.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  82.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  83.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
  84.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  85.     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:319)
  86.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  87.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  88.     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  89.     at java.lang.Thread.run(Thread.java:745)
  90. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  91.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
  92.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  93.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  94.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  95.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  96.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  97.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  98.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  99.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  100.     ... 63 more
  101. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  102.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
  103.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  104.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
  105.     ... 71 more
  106. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  107.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:342)
  108.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  109.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  110.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  111.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  112.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  113.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  114.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  115.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848)
  116.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
  117.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
  118.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
  119.     ... 73 more
  120. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  121.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
  122.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  123.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  124.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  125.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  126.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  127.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  128.     at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:99)
  129.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:511)
  130.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:493)
  131.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:657)
  132.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:630)
  133.     at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:150)
  134.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  135.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:339)
  136.     ... 84 more
  137. Caused by: java.lang.NullPointerException
  138.     at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.destroyObject(PoolableConnectionFactory.java:643)
  139.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1738)
  140.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1721)
  141.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1486)
  142.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1103)
  143.     at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71)
  144.     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:113)
  145.     at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
  146.     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
  147.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
  148.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
  149.     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
  150.     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:268)
  151.     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)
  152.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
  153.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
  154.     ... 98 more
  155.  
  156. abr 08, 2020 10:51:16 PM org.apache.catalina.core.StandardContext listenerStart
  157. GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase cl.zeke.dnsc.validacion.util.ServiceLocator
  158. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'dnscUserDetailsAuthenticationProvider' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  159.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
  160.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  161.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  162.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  163.     at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
  164.     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
  165.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
  166.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
  167.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  168.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  169.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  170.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  171.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  172.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  173.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
  174.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  175.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  176.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  177.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  178.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  179.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
  180.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
  181.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  182.     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1018)
  183.     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)
  184.     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
  185.     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)
  186.     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:587)
  187.     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1814)
  188.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  189.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  190.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  191.     at java.lang.reflect.Method.invoke(Method.java:606)
  192.     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
  193.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  194.     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  195.     at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1516)
  196.     at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:911)
  197.     at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:366)
  198.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  199.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
  200.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  201.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  202.     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  203.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  204.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  205.     at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  206.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  207.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  208.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  209.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  210.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:548)
  211.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  212.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  213.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
  214.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  215.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  216.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
  217.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  218.     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:319)
  219.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  220.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  221.     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  222.     at java.lang.Thread.run(Thread.java:745)
  223. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  224.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
  225.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  226.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  227.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  228.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  229.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  230.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  231.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  232.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  233.     ... 63 more
  234. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  235.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
  236.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  237.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
  238.     ... 71 more
  239. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  240.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:342)
  241.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  242.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  243.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  244.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  245.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  246.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  247.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  248.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848)
  249.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
  250.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
  251.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
  252.     ... 73 more
  253. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  254.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
  255.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  256.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  257.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  258.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  259.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  260.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  261.     at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:99)
  262.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:511)
  263.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:493)
  264.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:657)
  265.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:630)
  266.     at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:150)
  267.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  268.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:339)
  269.     ... 84 more
  270. Caused by: java.lang.NullPointerException
  271.     at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.destroyObject(PoolableConnectionFactory.java:643)
  272.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1738)
  273.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1721)
  274.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1486)
  275.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1103)
  276.     at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71)
  277.     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:113)
  278.     at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
  279.     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
  280.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
  281.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
  282.     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
  283.     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:268)
  284.     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)
  285.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
  286.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
  287.     ... 98 more
  288.  
  289. abr 08, 2020 10:51:20 PM org.apache.catalina.core.ApplicationContext log
  290. INFORMACIÓN: Closing Spring root WebApplicationContext
  291. abr 08, 2020 11:05:28 PM org.apache.catalina.core.ApplicationContext log
  292. INFORMACIÓN: No Spring WebApplicationInitializer types detected on classpath
  293. abr 08, 2020 11:05:28 PM org.apache.catalina.core.ApplicationContext log
  294. INFORMACIÓN: Initializing Spring root WebApplicationContext
  295. abr 08, 2020 11:07:39 PM org.apache.catalina.core.StandardContext listenerStart
  296. GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener
  297. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'dnscUserDetailsAuthenticationProvider' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  298.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
  299.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  300.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  301.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  302.     at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
  303.     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
  304.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
  305.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
  306.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  307.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  308.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  309.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  310.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  311.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  312.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
  313.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  314.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  315.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  316.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  317.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  318.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
  319.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
  320.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  321.     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1018)
  322.     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)
  323.     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
  324.     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)
  325.     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:587)
  326.     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1814)
  327.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  328.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  329.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  330.     at java.lang.reflect.Method.invoke(Method.java:606)
  331.     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
  332.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  333.     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  334.     at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1516)
  335.     at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:911)
  336.     at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:366)
  337.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  338.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
  339.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  340.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  341.     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  342.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  343.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  344.     at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  345.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  346.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  347.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  348.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  349.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:548)
  350.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  351.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  352.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
  353.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  354.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  355.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
  356.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  357.     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:319)
  358.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  359.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  360.     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  361.     at java.lang.Thread.run(Thread.java:745)
  362. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  363.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
  364.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  365.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  366.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  367.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  368.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  369.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  370.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  371.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  372.     ... 63 more
  373. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  374.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
  375.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  376.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
  377.     ... 71 more
  378. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  379.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:342)
  380.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  381.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  382.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  383.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  384.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  385.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  386.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  387.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848)
  388.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
  389.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
  390.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
  391.     ... 73 more
  392. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  393.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
  394.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  395.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  396.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  397.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  398.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  399.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  400.     at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:99)
  401.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:511)
  402.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:493)
  403.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:657)
  404.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:630)
  405.     at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:150)
  406.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  407.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:339)
  408.     ... 84 more
  409. Caused by: java.lang.NullPointerException
  410.     at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.destroyObject(PoolableConnectionFactory.java:643)
  411.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1738)
  412.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1721)
  413.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1486)
  414.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1103)
  415.     at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71)
  416.     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:113)
  417.     at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
  418.     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
  419.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
  420.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
  421.     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
  422.     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:268)
  423.     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)
  424.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
  425.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
  426.     ... 98 more
  427.  
  428. abr 08, 2020 11:07:39 PM org.apache.catalina.core.StandardContext listenerStart
  429. GRAVE: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase cl.zeke.dnsc.validacion.util.ServiceLocator
  430. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.authenticationManager': Cannot resolve reference to bean 'dnscUserDetailsAuthenticationProvider' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  431.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
  432.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
  433.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
  434.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
  435.     at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616)
  436.     at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148)
  437.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)
  438.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)
  439.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
  440.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  441.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  442.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  443.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  444.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  445.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
  446.     at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
  447.     at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
  448.     at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
  449.     at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
  450.     at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
  451.     at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5197)
  452.     at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5720)
  453.     at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  454.     at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1018)
  455.     at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)
  456.     at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:662)
  457.     at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:712)
  458.     at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:587)
  459.     at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1814)
  460.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  461.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  462.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  463.     at java.lang.reflect.Method.invoke(Method.java:606)
  464.     at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
  465.     at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
  466.     at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
  467.     at org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1516)
  468.     at org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:911)
  469.     at org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:366)
  470.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
  471.     at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
  472.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  473.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  474.     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  475.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  476.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  477.     at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
  478.     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  479.     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  480.     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
  481.     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
  482.     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:548)
  483.     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  484.     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  485.     at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:1025)
  486.     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  487.     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
  488.     at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1137)
  489.     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
  490.     at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:319)
  491.     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  492.     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  493.     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  494.     at java.lang.Thread.run(Thread.java:745)
  495. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dnscUserDetailsAuthenticationProvider': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  496.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:287)
  497.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  498.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  499.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  500.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  501.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  502.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  503.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  504.     at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
  505.     ... 63 more
  506. Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private cl.zeke.dnsc.validacion.servicios.SecurityService cl.zeke.dnsc.validacion.security.DnscUserDetailsAuthenticationProvider.securityService; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  507.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:506)
  508.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  509.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:284)
  510.     ... 71 more
  511. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityService': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  512.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:342)
  513.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)
  514.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
  515.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  516.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  517.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  518.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  519.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  520.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848)
  521.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
  522.     at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
  523.     at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:478)
  524.     ... 73 more
  525. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in ServletContext resource [/WEB-INF/spring/persistence-config.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  526.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
  527.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
  528.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
  529.     at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
  530.     at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
  531.     at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
  532.     at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
  533.     at org.springframework.orm.jpa.EntityManagerFactoryUtils.findEntityManagerFactory(EntityManagerFactoryUtils.java:99)
  534.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findNamedEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:511)
  535.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findEntityManagerFactory(PersistenceAnnotationBeanPostProcessor.java:493)
  536.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.resolveEntityManager(PersistenceAnnotationBeanPostProcessor.java:657)
  537.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor$PersistenceElement.getResourceToInject(PersistenceAnnotationBeanPostProcessor.java:630)
  538.     at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:150)
  539.     at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
  540.     at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProcessPropertyValues(PersistenceAnnotationBeanPostProcessor.java:339)
  541.     ... 84 more
  542. Caused by: java.lang.NullPointerException
  543.     at org.apache.tomcat.dbcp.dbcp.PoolableConnectionFactory.destroyObject(PoolableConnectionFactory.java:643)
  544.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1738)
  545.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1721)
  546.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1486)
  547.     at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1103)
  548.     at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:71)
  549.     at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:113)
  550.     at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
  551.     at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
  552.     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
  553.     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:906)
  554.     at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:74)
  555.     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:268)
  556.     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:310)
  557.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)
  558.     at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)
  559.     ... 98 more
  560.  
  561. abr 08, 2020 11:07:41 PM org.apache.catalina.core.ApplicationContext log
  562. INFORMACIÓN: Closing Spring root WebApplicationContext
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top