问答详情
源自:4-4 Action类交给Spring创建-Struts2整合Spring

HTTP Status 404 - No result defined for action cn.mooc.action.ProductAction and result input

ERROR - Exception occurred during processing request: No result defined for action cn.mooc.action.ProductAction and result input

No result defined for action cn.mooc.action.ProductAction and result input

at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:373)

at com.opensymphony.

还有jar包能不能加载

信息: validateJarFile(E:\Tomcat7\webapps\ssh\WEB-INF\lib\javax.servlet-3.1.1.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class

2016-11-12 0:50:50 org.apache.tomcat.websocket.server.WsSci onStartup

信息: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available. 

2016-11-12 0:50:50 org.apache.catalina.core.ApplicationContext log

信息: No Spring WebApplicationInitializer types detected on classpath


提问者:玄鉴 2016-11-12 00:53

个回答

  • qq_知了_12
    2017-06-18 15:04:40

    我的也是,怎么解决?

  • 远古
    2017-05-23 22:40:30

    我的也是

  • 王若山
    2017-03-09 03:34:04

    是不是实体类的价格那里出问题了,页面的价格你输入的不是数字??

  • 小菜121381
    2017-02-09 11:36:49

    同问,我跟你一样的错误!!我都恼了,就是不知道哪里错了

  • 战神无敌冲
    2016-12-13 14:02:02

    把源码贴上来看看

  • wwc
    2016-11-12 13:03:36

    No result defined for action是指在struts.xml中没有为相应的action添加<result>标签,例如:

    <result>/index.jsp</result>

    还有jar包问题是指你当前的Tomcat不支持当前的jdk版本,换为1.7的试试