今天同事在用struts2的时候碰到这样问题
:There is no Action mapped for namespace / and action name
我看了几次配置,拼写都没问题。。后来看到他项目有个错误
:The project cannot be built until build path errors are resolved
提示有unbound classpath。
我然后到.classpath中删除这些path就可以了
不过还是不知道怎么会出现这样的问题呢。。。我从来没碰到过。。 :(
:There is no Action mapped for namespace / and action name
我看了几次配置,拼写都没问题。。后来看到他项目有个错误
:The project cannot be built until build path errors are resolved
提示有unbound classpath。
我然后到.classpath中删除这些path就可以了
不过还是不知道怎么会出现这样的问题呢。。。我从来没碰到过。。 :(
本文解决了一个 Struts2 中找不到动作映射的问题,同事遇到 ThereisnoActionmappedfornamespace/andactionname 的错误。通过检查并修复项目中的 unboundclasspath 问题,最终解决了该错误。
1万+

被折叠的 条评论
为什么被折叠?



