22问答网
所有问题
Unable to instantiate Action,defined for 'register' in namespace '/'Error
报的错
dao实现类
action注入接口
spring配置
struts配置
web.xml
举报该问题
推荐答案 2015-01-08
不是spring配置少了 <context:annotation-config />
之类的
追问
加了还是一样的错误
追答
没有匹配的 userDao 类型,把 com.xxx.dao 的路径添加上呢
追问
注入实现类就有啊
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://22.wendadaohang.com/zd/0XCCSXSf6h0XX2TS2f.html
相似回答
...
Unable
to
instantiate
Action, defined
for
in
namespace
'/'_百...
答:
我刚好也遇到这样的情况,发现是自己的配置文件里写错了,spring里的id属性值要对应struts里class属性值。
javaweb,出现这种错误
Unable
to
instantiate
Action,
请教是何原因?_百 ...
答:
看错误是actioin 的内容有问题,反射生成类的时候报错了,你可以试试用new 的方法看是不是也报错,这个应该跟框架无关,然后需要把QuestionManage
Action
的内容贴出来才能看出问题
大家正在搜
be defined for
in addition to
multiply defined
to be defined
be defined as
continue to do
be defined as造句
transition to
defined for
相关问题
求高手来解决!谢谢了!Unable to instantia...
Unable to instantiate Action, ...
javaweb,出现这种错误Unable to instan...
Unable to instantiate Action, ...
在IE中跳转提示错误 Unable to instantia...
Unable to instantiate Action, ...
Unable to instantiate Action, ...
Unable to instantiate Action, ...