您的位置:首页 > 理论基础 > 计算机网络

HTTP Status 500 - Unable to instantiate Action

2015-08-24 18:36 721 查看

HTTP Status 500 - Unable to instantiate Action, com.net.ghzx.user.UserInfoAction, defined for 'user_login' in namespace '/user'Error creating bean with name 'com.net.ghzx.user.UserInfoAction': Injection of autowired dependencies failed; nested exception
is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.net.ghzx.bcsb.ISupplementaryService com.net.ghzx.action.BaseAction.supplementaryService; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException:
No matching bean of type [com.net.ghzx.bcsb.ISupplementaryService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

只是在SupplementaryService类中没有写@Service。跟

UserInfoAction没有关系,怎么报这么多错

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  HTTP Status 500 - Un