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

Source: Internet
Author: User

"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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.