spring中bean.xml 中factory-method 显示红色 cannot resolve the symbol


<bean id = "proxyAccountService" factory-bean="beanFactory" factory-method="" ></bean>

<bean id = "beanFactory" class="com.spring.factory.BeanFactory">
    <property name="accountService" ref="accountService"></property>
    <property name="txManager" ref="txManager"></property>
</bean>

加粗部份是红色

factory-bean="beanFactory" 正常

慕圣7574856
浏览 1164回答 1
1回答

guokexiaohao

很有可能是 bean.xml 引的<beans xmlns="...">不对,找一个全的,或者把你的bean.xml贴出来。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Java