Spring 记录

MethodParameter

 

BeansWrapper

 

ResourcePatternResolver

 

获取参数名字。

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

(FilterBean L73)

PropertyAccessorFactory

ServletContextResourceLoader

 

(WebxComponentsLoader L177)

BeanDefinitionRegistry.registerBeanDefinition

 

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

 

webx在通过@Autowired注入的时候如果注入类不存在会报错,

 

37.242:WARN::Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'module.action.BroadcastAction': Autowiring of fields failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.you.member.biz.service.FeedService com.you.atlas.web.member.module.action.BroadcastAction.feedService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.you.member.biz.service.FeedService] is defined: Unsatisfied dependency of type [interface com.you.member.biz.service.FeedService]: expected at least 1 matching bean:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [com.you.member.biz.service.FeedService] is defined: Unsatisfied dependency of type [interface com.you.member.biz.service.FeedService]: expected at least 1 matching bean
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:613)

你可能感兴趣的:(spring)