警告: Could not find action or result: /struts-day02/ There is no Action mapped for namespace [/] and

There are two possible reasons

The first is the version conflicts between the imported jar packages. It is recommended to import the unified version of sturts and spring directly from maven.

The second argument is that there is a problem with the order of the imported jar packages. It is recommended to lead struts2-core-XXX, and then lead struts2-spring-pligin-XXX, (here only includes the struts2 framework and the Spring framework of the collection Struts2, and the follow-up supplement of the H framework on..)

Guess you like

Origin blog.csdn.net/A_234_789/article/details/104574555