【发布时间】:2014-03-03 07:56:09
【问题描述】:
我在一个 Java 应用程序中工作。我正在使用 Struts2 和 Hibernate。该应用程序在 Tomcat7 中运行良好,但是当我在 IBM"S Websphere 上部署该应用程序时,我收到以下 URL 的以下错误
http://localhost:8080/MYAPPS
Error 404: There is no Action mapped for action name .
http://localhost:8080/MYAPPS/
Error 404: There is no Action mapped for namespace [/] and action name [] associated with context path
【问题讨论】:
-
如果你加上一个最后的斜线,它是否有效:
localhost:8080/MYAPPS/?还要确保端口是@Andres 的回答所建议的正确端口 -
什么版本的 IBM Websphere?
标签: java tomcat struts2 websphere action-mapping