Error creating Bean with Name ' security.filter.filterInvocation ' defined in URL error

Source: Internet
Author: User
Tags addchild

Severity: Exception sending context initialized event to listener instance of class Org.springframework.web.context.ContextLoad Erlistener
Org.springframework.beans.factory.BeanCreationException:Error creating bean with Name ' Security.filter.filterInvocation ' defined in URL [file:/d:/java/001-tomcat/apache-tomcat-7.0.79/webapps/root/ Web-inf/classes/com/itsv/gbp/core/security/security-filter.xml]: Cannot resolve reference to bean ' Security.check.source ' while setting beans property ' Objectdefinitionsource '; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' Security.check.source ' defined in ServletContext resource [/web-inf/config/security-end.xml]: Invocation of Init method Failed Nested exception is java.lang.NullPointerException
caused by:Org.springframework.beans.factory.BeanCreationException:Error Creating Bean with Name' Security.check.source 'defined in ServletContext resource [/web-inf/config/security-end.xml]: Invocation of Init method failed; Nested exception is java.lang.NullPointerException
caused By:java.lang.NullPointerException
At Com.itsv.gbp.core.admin.security.RightProviderFactory.afterPropertiesSet (rightproviderfactory.java:56)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods ( abstractautowirecapablebeanfactory.java:908)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean ( abstractautowirecapablebeanfactory.java:875)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( abstractautowirecapablebeanfactory.java:396)
At Org.springframework.beans.factory.support.abstractbeanfactory$1.getobject (abstractbeanfactory.java:240)
At Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:132)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:237)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:153)
At Org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference ( beandefinitionvalueresolver.java:225)
At Org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary ( beandefinitionvalueresolver.java:114)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues ( abstractautowirecapablebeanfactory.java:801)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean ( abstractautowirecapablebeanfactory.java:592)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( abstractautowirecapablebeanfactory.java:392)
At Org.springframework.beans.factory.support.abstractbeanfactory$1.getobject (abstractbeanfactory.java:240)
At Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:132)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:237)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:153)
At Org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ( defaultlistablebeanfactory.java:254)
At Org.springframework.context.support.AbstractApplicationContext.refresh (abstractapplicationcontext.java:337)
At Org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh ( abstractrefreshablewebapplicationcontext.java:156)
At Org.springframework.web.context.ContextLoader.createWebApplicationContext (contextloader.java:246)
At Org.springframework.web.context.ContextLoader.initWebApplicationContext (contextloader.java:184)
At Org.springframework.web.context.ContextLoaderListener.contextInitialized (contextloaderlistener.java:49)
At Org.apache.catalina.core.StandardContext.listenerStart (standardcontext.java:5118)
At Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5634)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:145)
At Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:899)
At Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:875)
At Org.apache.catalina.core.StandardHost.addChild (standardhost.java:652)
At Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1296)
At Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:2038)
At Java.util.concurrent.executors$runnableadapter.call (executors.java:441)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:303)
At Java.util.concurrent.FutureTask.run (futuretask.java:138)
At Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:886)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:908)
At Java.lang.Thread.run (thread.java:619)
2017-7-19 15:50:44 Org.apache.catalina.core.StandardContext startinternal
Critical: One or more listeners failed to start. Full details would be found in the appropriate container log file
2017-7-19 15:50:44 Org.apache.catalina.core.StandardContext startinternal
Severity: Context [] startup failed due to previous errors
2017-7-19 15:50:44 Org.apache.catalina.core.ApplicationContext Log
Info: Closing Spring root Webapplicationcontext
2017-7-19 15:50:44 Org.apache.catalina.core.ApplicationContext Log
Info: Shutting down log4j
50:44,584 ERROR [Org.springframework.web.context.ContextLoader.initWebApplicationContext (contextloader.java:205) ]-<context Initialization failed>
Org.springframework.beans.factory.BeanCreationException:Error creating bean with Name ' Security.filter.filterInvocation ' defined in URL [file:/d:/java/001-tomcat/apache-tomcat-7.0.79/webapps/root/ Web-inf/classes/com/itsv/gbp/core/security/security-filter.xml]: Cannot resolve reference to bean ' Security.check.source ' while setting beans property ' Objectdefinitionsource '; Nested exception is org.springframework.beans.factory.BeanCreationException:Error creating beans with Name ' Security.check.source ' defined in ServletContext resource [/web-inf/config/security-end.xml]: Invocation of Init method Failed Nested exception is java.lang.NullPointerException
Caused by:
Org.springframework.beans.factory.BeanCreationException:Error creating Bean with Name ' Security.check.source ' defined in ServletContext resource [/web-inf/config/security-end.xml]: Invocation of Init method failed; Nested exception is java.lang.NullPointerException
Caused by:
Java.lang.NullPointerException
At Com.itsv.gbp.core.admin.security.RightProviderFactory.afterPropertiesSet (rightproviderfactory.java:56)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods ( abstractautowirecapablebeanfactory.java:908)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean ( abstractautowirecapablebeanfactory.java:875)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( abstractautowirecapablebeanfactory.java:396)
At Org.springframework.beans.factory.support.abstractbeanfactory$1.getobject (abstractbeanfactory.java:240)
At Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:132)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:237)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:153)
At Org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference ( beandefinitionvalueresolver.java:225)
At Org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary ( beandefinitionvalueresolver.java:114)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues ( abstractautowirecapablebeanfactory.java:801)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean ( abstractautowirecapablebeanfactory.java:592)
At Org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean ( abstractautowirecapablebeanfactory.java:392)
At Org.springframework.beans.factory.support.abstractbeanfactory$1.getobject (abstractbeanfactory.java:240)
At Org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton ( defaultsingletonbeanregistry.java:132)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:237)
At Org.springframework.beans.factory.support.AbstractBeanFactory.getBean (abstractbeanfactory.java:153)
At Org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons ( defaultlistablebeanfactory.java:254)
At Org.springframework.context.support.AbstractApplicationContext.refresh (abstractapplicationcontext.java:337)
At Org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh ( abstractrefreshablewebapplicationcontext.java:156)
At Org.springframework.web.context.ContextLoader.createWebApplicationContext (contextloader.java:246)
At Org.springframework.web.context.ContextLoader.initWebApplicationContext (contextloader.java:184)
At Org.springframework.web.context.ContextLoaderListener.contextInitialized (contextloaderlistener.java:49)
At Org.apache.catalina.core.StandardContext.listenerStart (standardcontext.java:5118)
At Org.apache.catalina.core.StandardContext.startInternal (standardcontext.java:5634)
At Org.apache.catalina.util.LifecycleBase.start (lifecyclebase.java:145)
At Org.apache.catalina.core.ContainerBase.addChildInternal (containerbase.java:899)
At Org.apache.catalina.core.ContainerBase.addChild (containerbase.java:875)
At Org.apache.catalina.core.StandardHost.addChild (standardhost.java:652)
At Org.apache.catalina.startup.HostConfig.deployDirectory (hostconfig.java:1296)
At Org.apache.catalina.startup.hostconfig$deploydirectory.run (hostconfig.java:2038)
At Java.util.concurrent.executors$runnableadapter.call (executors.java:441)
At Java.util.concurrent.futuretask$sync.innerrun (futuretask.java:303)
At Java.util.concurrent.FutureTask.run (futuretask.java:138)
At Java.util.concurrent.threadpoolexecutor$worker.runtask (threadpoolexecutor.java:886)
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:908)
At Java.lang.Thread.run (thread.java:619)
2017-7-19 15:50:44 org.apache.catalina.loader.WebappClassLoaderBase Clearreferencesjdbc
Critical: The Web application [] registered the JDBC driver [Com.mysql.jdbc.Driver] but failed-unregister it when the Web App Lication was stopped. To prevent a memory leak, the JDBC Driver have been forcibly unregistered.
2017-7-19 15:50:44 org.apache.catalina.loader.WebappClassLoaderBase clearreferencesthreads

-------------------------------------

Solution: I saw the manager point into the green part of a look, empty hands. That is, the database data import is incomplete, sure enough, the character set error when importing data, resulting in data not fully imported.

Error creating Bean with Name ' security.filter.filterInvocation ' defined in URL error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.