spring+mvc扫描注解一直报错
org.springframework.beans.factory.NoSuchBeanDefinitionException:Nomatchingbeanoftype[...
org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.service.UserService] 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=)}
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询