java吧 关注:1,236,421贴子:12,707,347
  • 4回复贴,共1

求解关于实例化问题

只看楼主收藏回复

1


1楼2012-09-05 14:43回复
    Unable to instantiate Action, userBean, defined for 'userDemo' in namespace '/'userBean com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:318) com.opensymphony.xwork2.DefaultActionInvocation.init(DefaultActionInvocation.java:399) com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:198) org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61) org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39) com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:58) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:488) org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)


    2楼2012-09-05 14:44
    回复
      大致意思就是无法实例化javaBean


      


      3楼2012-09-05 14:45
      回复
        new 就是实例化


        IP属地:江苏4楼2012-09-05 14:45
        收起回复