window --> Preferences --> xml Catalog
“location”中输入struts.xml文件所对应的dtd文件的所在位置,不要有中文的目录,选择“File System”按钮,找到dtd文件的位置
“Key type”: “URI”
“Key”: “http://struts.apache.org/dtds/struts-2.3.dtd”
File Associations
window --> Preferences --> xml Catalog
“location”中输入struts.xml文件所对应的dtd文件的所在位置,不要有中文的目录,选择“File System”按钮,找到dtd文件的位置
“Key type”: “URI”
“Key”: “http://struts.apache.org/dtds/struts-2.3.dtd”
File Associations
转载于:https://my.oschina.net/u/3285916/blog/884091