Spring @Resource 注入報錯 must be of type [xxx], but was actually of type [com.sun.proxy.$Proxy###]

在服務 AaaService 中注入 BbbService 死活不行。java at org.spring[17:00:35] ERROR (ContextLoader.java:319) - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating
相關文章
相關標籤/搜索