SSH报错Unable to load configuration. - Class: java.net.SocketInputStream Unable to load configuratio

来源:互联网 发布:龙卷凤软件 编辑:程序博客网 时间:2024/05/18 06:25

Unable to load configuration. - Class: java.net.SocketInputStream

11-09-27 16:55:45 ERROR [/hqmss_sms]:3639 - Exception starting filter struts2
Unable to load configuration. - [unknown location]
。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。

struts.xml文件 声明版本与导入的struts.core包版本不一致导致的

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.3//EN"
    "http://struts.apache.org/dtds/struts-2.3.dtd">

换成

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
"http://struts.apache.org/dtds/struts-2.1.dtd">

问题解决!

0 0