请教下关于struts2断网无法启动的问题。描述:
项目改版需要添加struts,目前采用的是struts2.3.1.2版本,配置方面都是根据struts2-blank项目拷贝过来进行更改的,在struts.xml的头定义上也是根据网上很多人说的需要跟默认的struts-default.xml文件一致。
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
    "http://struts.apache.org/dtds/struts-2.3.dtd">目前不同的地方就是web.xml中的根节点定义,struts2-blank中是:
<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">项目中是:
<web-app>不知道这个是否有影响,目前项目build非常复杂,是公司自己写的框架来build,在run的时候会自己去根据模块配置进行组装web.xml。请教高人改如何处理?Strutsweb.xmlWeb App