"Bug Note" Unable to load configuration. -Class:java.net.AbstractPlainSocketImpl Tags: bugjartomcat server Internet 2014-04-29 10:44 1491 people Read reviews (0) Favorite Report Category: Bug Note (8) Copyright notice: This article is Bo Master original article, not allowed to reprint without Bo master. Recently, a strange thing, in the networked state to start Tomcat and not connected to start Tomcat will appear two different results: Normal startup and error so I tangled up for a long while, The reason for this is the way the configuration is configured in Struts.xml, the jar I'm using is Struts-2.1.8.jar, and I'm referring to 2.3 (the way it is copied on the Internet, because it's a reference to some code examples of the Internet, which is often wrong here), it's not locally formed STRUTS-2.3.D TD file, so only in the case of networking with HTTP://STRUTS.APACHE.ORG/DTDS/STRUTS-2.3.DTD to find. Change it to 2.1 to start the Tomcat server normally in a networked and non-networked state. Specific error reason: File:AbstractPlainSocketImpl.JavaMethod:connect caused by:unable to load configuration. -Class:java.NET. AbstractPlainSocketImplFile:AbstractPlainSocketImpl.javaMethod:connectCaused by:unable to load file:/d:/tools/ Apache-tomcat-7.0.27/webapps/classes/web-inf/classes/struts.xml-class:java. Net.AbstractPlainSocketImplFile:AbstractPlainSocketImpl.javaMethod:connect
Unable to load configuration. -Class:java.net.AbstractPlainSocketImpl