java 错误
Errorcreatingbeanwithname'userManageService':Injectionofresourcedependenciesfailed;ne...
Error creating bean with name 'userManageService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [swust.seclab.domain.Role] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(shareable=true, mappedName=, description=, name=, type=class java.lang.Object, authenticationType=CONTAINER)}
我已经写了@Service(value = "userManageService"),为么还有错误 展开
我已经写了@Service(value = "userManageService"),为么还有错误 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询