2 qq 28829573 qq_28829573 于 2016.02.18 15:18 提问

web测试报错,ssm我并不加serverice

HTTP Status 500 - Unable to instantiate Action, action.LoginAction, defined for 'login' in namespace '/god'Error creating bean with name 'action.LoginAction': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [dao.LoginDao] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, lookup=, name=, description=, authenticationType=CONTAINER, type=class java.lang.Object, mappedName=)}

2个回答

devmiao
devmiao   Ds   Rxr 2016.02.18 21:57
Mr_dsw
Mr_dsw   Ds   Rxr 2016.02.18 22:10
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!