详细错误信息如下:
严重: Exception sending context initialized event to listener instance of class com.auth.spring.listener.SpringLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in file [C:\Workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testcs_dn-admin-web\WEB-INF\classes\spring\applicationContext-resource.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'authorizationAttributeSourceAdvisor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.auth.aop.interceptor.AnnotationsMethodInterceptor com.auth.aop.interceptor.AuthorizationAttributeSourceAdvisor.annotationsMethodInterceptor; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.via.frame.rpc.http.client.HttpProxyFactory] for bean with name 'com.via.frame.rpc.http.client.HttpProxyFactory#0' defined in file [C:\Workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testcs_dn-admin-web\WEB-INF\classes\spring\applicationContext-service.xml]; nested exception is java.lang.ClassNotFoundException: com.via.frame.rpc.http.client.HttpProxyFactory
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.via.frame.rpc.http.client.HttpProxyFactory] for bean with name 'com.via.frame.rpc.http.client.HttpProxyFactory#0' defined in file [C:\Workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testcs_dn-admin-web\WEB-INF\classes\spring\applicationContext-service.xml]; nested exception is java.lang.ClassNotFoundException: com.via.frame.rpc.http.client.HttpProxyFactory
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.via.frame.rpc.http.client.HttpProxyFactory] for bean with name 'com.via.frame.rpc.http.client.HttpProxyFactory#0' defined in file [C:\Workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testcs_dn-admin-web\WEB-INF\classes\spring\applicationContext-service.xml]; nested exception is java.lang.ClassNotFoundException: com.via.frame.rpc.http.client.HttpProxyFactory
Related cause: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.via.frame.rpc.http.client.HttpProxyFactory] for bean with name 'com.via.frame.rpc.http.client.HttpProxyFactory#0' defined in file [C:\Workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testcs_dn-admin-web\WEB-INF\classes\spring\applicationContext-service.xml]; nested exception is java.lang.ClassNotFoundException: com.via.frame.rpc.http.client.HttpProxyFactory
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:454)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:786)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:467)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at com.auth.spring.listener.SpringLoaderListener.contextInitialized(SpringLoaderListener.java:24)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
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.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 'authorizationAttributeSourceAdvisor': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.auth.aop.interceptor.AnnotationsMethodInterceptor com.auth.aop.interceptor.AuthorizationAttributeSourceAdvisor.annotationsMethodInterceptor; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.via.frame.rpc.http.client.HttpProxyFactory] for bean with name 'com.via.frame.rpc.http.client.HttpProxyFactory#0' defined in file [C:\Workspaces\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\testcs_dn-admin-web\WEB-INF\classes\spring\applicationContext-service.xml]; nested exception is java.lang.ClassNotFoundException: com.via.frame.rpc.http.client.HttpProxyFactory
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1146)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)
at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:92)
at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:101)
at org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator.findCandidateAdvisors(AnnotationAwareAspectJAutoProxyCreator.java:85)
at org.springframework.aop.aspectj.autoproxy.AspectJAwareAdvisorAutoProxyCreator.shouldSkip(AspectJAwareAdvisorAutoProxyCreator.java:103)
at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessBeforeInstantiation(AbstractAutoProxyCreator.java:276)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:920)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.resolveBeforeInstantiation(AbstractAutowireCapableBeanFactory.java:892)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:448)
... 19 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field:
原文地址:https://blog.csdn.net/testcs_dn/article/details/41826447
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。