spring+struts2+hibernate全部配置好之后 tomcat启动报错

[复制链接]
查看11 | 回复4 | 2011-3-2 11:31:25 | 显示全部楼层 |阅读模式
'LoginUserAction' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is 路径配置不对,可能没有classes 然后看看你有没有applicationContext.xml 文件...
回复

使用道具 举报

千问 | 2011-3-2 11:31:25 | 显示全部楼层
注入到LoginUserAction中的类xml中配置了吗...
回复

使用道具 举报

千问 | 2011-3-2 11:31:25 | 显示全部楼层
类目录下有[com.web.action.LoginUserAction]这个类吗?错误提示,初始化这个bean类出问题。...
回复

使用道具 举报

千问 | 2011-3-2 11:31:25 | 显示全部楼层
LoginUserAction没有在xml注入吧,这个都不配?...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行