为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

慕圣7574856 2020-02-20 10:40:27
<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" 正常
查看完整描述

1 回答

已采纳
?
guokexiaohao

TA贡献3条经验 获得超4个赞

很有可能是 bean.xml 引的

<beans xmlns="...">

不对,找一个全的,或者把你的bean.xml贴出来。

查看完整回答
反对 回复 2020-02-20
  • 1 回答
  • 0 关注
  • 1157 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信