首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 开源软件 >

Spring 记要

2013-09-11 
Spring 记录MethodParameter?BeansWrapper?ResourcePatternResolver?获取参数名字。----------------------

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)


我的异常网推荐解决方案:org.springframework.beans.factory.BeanCreationException:,http://www.myexception.cn/j2ee/10759.html

热点排行