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.