【发布时间】:2017-03-23 06:44:05
【问题描述】:
我升级了Struts2版本,包括
- free-marker-2.3.22.jar
- ognl-3.0.19.jar
- struts2-core-2.3.32.jar
- struts2-json-plugin-2.3.32.jar
- struts2-junit-plugin-2.3.32.jar
- struts2-spring-plugin-2.3.32.jar
- xwork-core-2.3.32.jar
并将代码添加到 struts.xml
<constant name="struts.enable.DynamicMethodInvocation" value="true"/>
<constant name="struts.convention.action.mapallmatches" value="true"/>
我没有使用freemarker,但我也将jar添加到“WEB-INF/lib”
pom.xml 也升级了。
tomcat启动时没有异常。
但我的项目总是显示“404”,控制台没有显示任何消息。
我该怎么办?
【问题讨论】:
-
您的问题文本与标题行有何关系?
-
对不起,我的错。 T-T
标签: java spring maven jar struts2