No action instance for path /test could be created老是说创建类失败.不知道为什么.HI在线.知道的联系继承了DispatchAction只是在构造函数中有关于spring一个getbean.在执行getbean那个语句时出了错!tomcat没有任

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/04 23:33:50
No action instance for path /test could be created老是说创建类失败.不知道为什么.HI在线.知道的联系继承了DispatchAction只是在构造函数中有关于spring一个getbean.在执行getbean那个语句时出了错!tomcat没有任

No action instance for path /test could be created老是说创建类失败.不知道为什么.HI在线.知道的联系继承了DispatchAction只是在构造函数中有关于spring一个getbean.在执行getbean那个语句时出了错!tomcat没有任
No action instance for path /test could be created
老是说创建类失败.不知道为什么.HI在线.知道的联系
继承了DispatchAction
只是在构造函数中有关于spring一个getbean.在执行getbean那个语句时出了错!
tomcat没有任何提示.
在spring中配置一个抽象类及其实现类应该怎么配置?
forward?我没配这个就,只有Action还有一个全局的forward 那个Action也没有问题..可能是spring中关于抽象类和其实现类的配置有点儿问题.有人知道该怎么配么?
fannyxjf 改了,没什么效果.还是不能成功的创建Action.只要是在构造函数中使用了getbean().就不能成功创建了.没有使用getbean则没有问题
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.objectweb.asm.ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)V

No action instance for path /test could be created老是说创建类失败.不知道为什么.HI在线.知道的联系继承了DispatchAction只是在构造函数中有关于spring一个getbean.在执行getbean那个语句时出了错!tomcat没有任
在抽象类的bean结点里面加上abstract="true"的属性,在继承它的子类的bean结点里面加上parent="xxx"的属性,其中xxx表示你的父类bean的id
java.lang.NoSuchMethodError:org.objectweb.asm.ClassVisitor.visit
这个是spring和hibernate的依赖包产生冲突导致的,请检查你的asm相关的包.
参考资料: