Error creating bean with name ‘agencyController’: Unsatisfied dependency expressed through field ‘agencyService’; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘agencyServiceImpl’…
一个很重要的点 这个错误的原因可能很离谱
我这里就是记录一下 前面运行都是正常的 agencycontroller也正常 后来我写了个推荐类 想加个推荐算法进去 然后就在pom.xml里面加了TestTable注释的呃叫什么 支持? 然后后来也没用 我就没管这个支持的包 结果后来我想运行一下项目看看页面我加那个东西加在哪 结果就爆这个错误 网上的很多办法都没用 因为我这个本来就是好的啊 !之前