[英]Error in Web.xml of Eclipse Java Dynamic Web Project [when a new project was created]
ERROR MESSAGE:错误信息:
schema_reference.4: Failed to read schema document 'platform:/plugin/org.eclipse.xsd/cache/www.w3.org/2001/
xml.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the
document is not <xsd:schema>.
When I am trying to create a new Dynamic Web Project in Eclipse v.2021-09 as soon as the project is created it is showing an error in the web.xml file which I have mentioned above. When I am trying to create a new Dynamic Web Project in Eclipse v.2021-09 as soon as the project is created it is showing an error in the web.xml file which I have mentioned above. It is a completely blank project so I have not idea Why this error is shown?
这是一个完全空白的项目,所以我不知道为什么会显示此错误? Please help I am stuck at this from past 3 days.
请帮助我从过去 3 天开始就被困在这个问题上。
This is the image of my project in Eclipse and the error.这是我在 Eclipse 中的项目的图像和错误。
Well I struggled for a while then decided to do a fresh install of Eclipse by deleting all the previous files from the previous versions of Eclipse and that includes the eclipse-workspace folder (if you are worried about your projects just move them to a new folder temporarily and then you can move them back) which had some config files which seemed to be the problem.好吧,我挣扎了一段时间,然后决定重新安装 Eclipse,方法是从以前版本的 Eclipse中删除所有以前的文件,其中包括eclipse-workspace 文件夹(如果你担心你的项目只需将它们移动到一个新文件夹暂时然后您可以将它们移回)其中有一些配置文件似乎是问题所在。 After doing a fresh install the error went away and now everything is fine.
进行全新安装后,错误消失了,现在一切都很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.