ERROR - Parsing error processing resource path /WEB-INF/struts-config.xml解决办法:
ERROR - Parsing error processing resource path /WEB-INF/struts-config.xml java.net.UnknownHostException: struts.apache.org
at java.net.PlainSocketImpl.connect(Unknown Source) ………….
解决办法一:
struts-config.xml如下配置:
<!DOCTYPE
struts-config PUBLIC " //Apache Software Foundation//DTD Struts
Configuration 1.2//EN"
"http://struts.apache.org/dtds/struts-config_1_2.dtd">
好象不能上网就会报
ERROR [ActionServlet] Parsing error processing resource path java.net.UnknownHostException: struts.apache.org
后来换了个头
<!DOCTYPE
struts-config PUBLIC "-//Apache Software Foundation//DTD Struts
Configuration 1.1//EN"
"http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
就可以了.
解决办法二:
这
是由于struts-config.xml中的dtd校验中的地址为
http://struts.apache.org/dtds/struts-config_1_2.dtd,按照这个地址将struts-
config_1_2.dtd下载后放到和struts-config.xml同一文件夹下,然后将struts-config.xml中替换为
struts-config_1_2.dtd就可以了
分享到:
相关推荐
the desired width fasmarm will give an error. If the instruction does not have both wide an narrow forms then the .W and .N suffixes are undefined. If you give no width suffix fasmarm will select the ...
The resource type has the following resource block format: Resource Type (Code) Content DB (2) Data 1: sub-resource; Data 2: 0; Data 3: 0 File (3) Data 1: File ID; Data 2: 0; Data 3: 0 Index (4) Data ...
the Switch() operator is within a while loop, causing an error on the second iteration. (BZ 460) Disassembler - fix for error emitted for unknown type for target of scope operator. Now, ignore it and...
24)..Added: EResLeaks improvements (new funcs: ResourceAdd, ResourceDelete, ResourceName; support for realloc-like functions) 25)..Fixed: Added workaround for bug in JIRA 5.x 26)..Fixed: Rare ...
PEP 519: Adding a file system path protocol PEP 495: Local Time Disambiguation PEP 529: Change Windows filesystem encoding to UTF-8 PEP 528: Change Windows console encoding to UTF-8 PEP 520: ...