Environment:
eclipse, after tomcat
configures a package and action in struts.xml, browser access http://localhost:8080/sshTest/day05/plist keeps reporting an error:
There is no Action mapped for action name plist. - [unknown location] . I found that the previously configured actions can still be accessed, and I checked it for a long time.
Troubleshooting:
1.struts.xml file name is correct.
2. There is no error in the src directory of the struts.xml file placement path.
3.Struts.xml is written wrongly.
4. Check the location after compilation. I put it in the tomcat directory: E:\tools\developTool\Tomcat7.0\webapps\sshTest\WEB-INF\classes\struts.xml
5. Check E:\tools\developTool \Tomcat7.0\webapps\sshTest\WEB-INF\classes\struts.xml content, why the package and action I just added disappeared? Is it the cache? So stop tomcat, manually delete the running project from the E:\tools\developTool\Tomcat7.0\webapps\ directory, re-add the project, clean it, E:\tools\developTool\Tomcat7.0\webapps\ The project is generated again in the directory, and check again, why is there still no package and action added later
to close other web projects, which is not a big deal, alas, I don’t know what the reason is, it may be that I changed the computer before and redone it. It's caused by the system, so I can only reload the project.
There is no Action mapped for action name plist. - [unknown location]
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326565752&siteId=291194637
Ranking