Unable to load configuration. - file:/E:/IDEA/IntelliJ%20IDEA%202021.2.2/J2EE/out/artifacts/J2EE_war

Unable to load configuration. -
file:/E:/IDEA/IntelliJ%20IDEA%202021.2.2/J2EE/out/artifacts/J2EE_war_exploded/WEB-INF/classes/struts.xml:3:8

此时xml文件内容
Unable to load configuration. - file:/E:/IDEA/IntelliJ%20IDEA%202021.2.2/J2EE/out/artifacts/J2EE_war
报错如下
Unable to load configuration. - file:/E:/IDEA/IntelliJ%20IDEA%202021.2.2/J2EE/out/artifacts/J2EE_war

添加下列语句即可,这里是struts2.5

<!DOCTYPE struts PUBLIC
        "-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
        "http://struts.apache.org/dtds/struts-2.5.dtd">

Unable to load configuration. - file:/E:/IDEA/IntelliJ%20IDEA%202021.2.2/J2EE/out/artifacts/J2EE_war

上一篇:软考高级系统架构设计师:应用服务器


下一篇:J2EE企业分布式微服务云快速开发架构 Spring Cloud+Spring Boot2+Mybatis+Oauth2+ElementUI 前后端分离