weblogic下用@Resource出现No unique bean of type [cn.xx.dao.QueryDAO] is defined的解决办法

最近在使用weblogic时,出现各类问题,其中,有一个问题是这样,在某一个类中,经过@Resource注入一个DAO时,在tomcat时,没有问题,可是在weblogic下,就会出现如下错误:html Caused by: com.bea.core.repackaged.springframework.beans.factory.NoSuchBeanDefinitionException: No
相关文章
相关标签/搜索