当我运行我的测试类时,我得到了以下异常
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifyingbean of type 'com.whot.dao.HotspotDao' available: expected at least 1 bean which qualifies as autowire,但我无法找到发生这种情况的原因。我已经包含了我的
我已经看了至少10个不同的答案,但没有一个建议有帮助。dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationExceptionInfo: Security Service(s) started successfully.com.lisawestberg.noxml.service.Login
我是spring工具套件的新手,我正在spring上做一个项目,但我有这个错误org.springframework.beans.factory.BeanCreationException: No qualifying bean of type [group.service.UserService] found for dependency: expected at least 1 beanimport group.entity.User;
public interface UserRepos
目前,我在控制器和服务层之间的自动配置中遇到了一个问题,但是我收到了一个依赖注入问题。我正在使用JPA.I定义的存储库接口和实现来开发一个Spring Boot 2.1.2版本的应用程序。': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean