Unable to instantiate Action
来源:互联网 发布:王者荣耀李白铭文知乎 编辑:程序博客网 时间:2024/05/01 22:10
页面访问时发生错误: Unable to instantiate Action, org.eline.web.dis.StationiAction, defined
for 'stationi' in namespace '/dis'Error creating bean with name
'org.eline.web.dis.StationiAction': Autowiring of fields failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire field: private
org.eline.entity.pos.Station org.eline.web.dis.StationiAction.station; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type
[org.eline.entity.pos.Station] is defined: Unsatisfied dependency of type [class
org.eline.entity.pos.Station]: expected at least 1 matching bean
@Autowired
private StationManager stationManager;
@Autowired
private UserManager userManager;
// @Autowired
// private RegionManager regionManager;
@Autowired
private StainfoaddManager stainfoaddManager;
@Autowired //注释掉即可 不然会作用于station
// private PosManager posManager;
private Station station;
private User user;
private Region region;
需要重启服务器才行,刷新页面不行。
for 'stationi' in namespace '/dis'Error creating bean with name
'org.eline.web.dis.StationiAction': Autowiring of fields failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire field: private
org.eline.entity.pos.Station org.eline.web.dis.StationiAction.station; nested exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type
[org.eline.entity.pos.Station] is defined: Unsatisfied dependency of type [class
org.eline.entity.pos.Station]: expected at least 1 matching bean
@Autowired
private StationManager stationManager;
@Autowired
private UserManager userManager;
// @Autowired
// private RegionManager regionManager;
@Autowired
private StainfoaddManager stainfoaddManager;
@Autowired //注释掉即可 不然会作用于station
// private PosManager posManager;
private Station station;
private User user;
private Region region;
需要重启服务器才行,刷新页面不行。
- Unable to instantiate Action
- Unable to instantiate Action
- Unable to instantiate Action
- Unable to instantiate Action
- Unable to instantiate Action解决
- Unable to instantiate Action, UserAction
- Unable to instantiate Action或者Unable to instantiate default tuplizer
- Unable to instantiate Action错误的解决
- 关于Xwork异常 : Unable to instantiate Action
- Unable to instantiate Action错误的解决
- HTTP Status 500 - Unable to instantiate Action
- struts2+spring Unable to instantiate Action
- Unable to instantiate Action(Action无法实例化)
- 不能初始化action Unable to instantiate Action, homePageAction
- Unable to instantiate Action, Action, defined for 解决方法
- spring Unable to instantiate Action一个很伤心的错误!
- Unable to instantiate Action,,,,,,,,,defined for ',,,' in namespace '/,,,'null
- Unable to instantiate Action,,,,,,,,,defined for ',,,' in namespace '/,,,'null
- 求最长公共子串问题
- Linux 进程间通讯方式 pipe()函数
- 计算机组成原理小结
- 无线路由的信道,应选哪个?
- 类模板中的友元
- Unable to instantiate Action
- 暗时间-如何有效的记忆和学习
- 设计模式之八 --- 装饰模式(Decorator)
- js关闭窗口 ie ff chrome
- ZFS源代码之旅——ZAP模块分析(二)
- 让你的win7 反应更快
- 在jsp页面中格式化字符串类型的时间到指定的类型
- 通用-删除服务器上的所有相同后缀的临时表
- 《飞鸽传书2007绿色版下载》总结报告