2、配置tomcat
如果上一步没有可选,则:
上面URL改为/xyz,然后启动:http://localhost:8080/xyz/
3、配置maven
4、配置web.xmlorg.apache.struts struts2-core2.5.8 org.javassist javassist3.20.0-GA
5、添加java、resources文件夹struts2 org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter struts2 /*
之后在main文件夹下创建
java文件夹
resources文件夹
还要定义文件夹类型:
java文件夹选择Sources Root
resources文件夹选择 Resources Root
会自动出现:
6、错误解决



