Invocation of init method failed;nested exception is IllegalArgumentExcepti:Not a managed type:class

错误:Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Not a managed type: class com.basedata.goods.Goods
解决方法写一个博客里了,不重复写了:多模块项目,依赖注入失败 https://blog.csdn.net/m0_37679452/article/details/112527820

你可能感兴趣的:(Spring,SpringBoot,Java,java,spring,多模块项目,依赖注入失败,spring注解,maven多模块)