关于struts2的Unable to load configuration. Class: java.net.Plain

异常代码
严重: Exception starting filter struts2
Unable to load configuration. - Class:java.net.PlainSocketImpl
File: PlainSocketImpl.java
Method: connect
Line: 177 - java/net/PlainSocketImpl.java:177:-1
 
   atcom.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)

解决方法:
打开struts-core-x.x.x.jar中的struts-default.xml文件,该文件的头部,关于struts.xml声明复制到我们自己的struts.xml中,替换原来的声明!
OK!问题解决!
原文地址:https://www.cnblogs.com/tgxblue/p/4217334.html