3
回答
IDEA导入eclipse spring mvc工程项目后单元测试一直报错,但是工程整体可以正常运行,求解
终于搞明白,存储TCO原来是这样算的>>>   

问题描述:

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

1、junit配置:

2、idea iml配置:

3、配置文件目录:

 

刚从eclipse转到idea,好心人帮忙看下,谢谢

<无标签>
举报
RunACoding
发帖于1周前 3回/47阅
顶部