Eclipse中配置struts2发布web项目报错:

HTTP Status 404 - There is no Action mapped for namespace [/] and action name [] associated with context path [/struts2_01]

需要检查如下:

  • tomcat与jdk的版本问题。
  • struts.xml文件在否在src目录下。
  • struts.xml文件名大小写是否命名正确。
  • jar包上是否重复(Tomcat的lib下加了jar包,项目的lib中又加入一遍jar包,造成冲突)。

 

相关文章:

  • 2021-08-20
  • 2022-12-23
  • 2021-07-07
  • 2021-09-01
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2021-11-18
猜你喜欢
  • 2021-12-16
  • 2022-12-23
  • 2021-05-20
  • 2022-12-23
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案