Struts-2.3.12 introduces the json package struts2-json-plugin-2.3.12, an error is reported when the network is disconnected

Source: Internet
Author: User
Struts-2.3.12 introduces the json package struts2-json-plugin-2.3.12, the error java.net is returned when the network is disconnected. unknownHostException: struts.apache.org just encountered this problem. I found it on the Internet and found that this is because of this jar package problem. Open it with hao pressure...

Struts-2.3.12 introduced the json package struts2-json-plugin-2.3.12 and the error java.net. UnknownHostException: struts.apache.org was reported when the network was disconnected.

Just encountered this problem felt very strange, on the Internet looked for, found this is because of the jar package problem, with hao pressure open a look, there is a struts-plugin.xml file, open the file and find the 2.3 verification in its dtd

But this does not, this certainly has a problem, so I found the struts2-core-2.2.3.jar file in the struts-2.1.dtd, put it in the struts2-json-plugin-2.3.12, change the struts-plugin.xm

So OK.

 

 

 

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.