作者:gpik40799 | 来源:互联网 | 2023-05-17 21:10
1.首先找到自己对应的dtd源文件,我的就是在这里E:\apache-maven-3.3.9\repository\org\apache\struts\struts2-core\2.3.24\stru
1.首先找到自己对应的dtd源文件,我的就是在这里E:\apache-maven-3.3.9\repository\org\apache\struts\struts2-core\2.3.24\struts2-core-2.3.24\struts-2.3.dtd
2.然后打开eclispse界面,点击windows--->preference----->搜索 xml catlog----->user specified entries------>add------
3.location填写E:\apache-maven-3.3.9\repository\org\apache\struts\struts2-core\2.3.24\struts2-core-2.3.24\struts-2.3.dtd
4.点击下拉列表。选中为uri。
5.将http://struts.apache.org/dtds/struts-2.3.dtd粘贴到文本框中
6点击ok即可出线提示