工程中新增 interface 接口,第三方工程实现此接口,第三方工程pom引入主工程。主工程启动报错Consider defining a bean of type ‘X’ in your configuration.请问各位如何解决
XXX没有被spring容器管理,也就是没有被扫描到。