错误在使用eclipse下载’http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd’时发生。

huangapple 未分类评论47阅读模式
英文:

Description Resource Path Location Type Error while downloading 'http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd' in eclipse

问题

在我的项目的web.xml文件中,我正在像这样定义配置:

<web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd"
    id="WebApp_ID"
    version="4.0">

但是Eclipse给了我这个错误:

Error while downloading 'http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd' to C:\Users\ftk1187\.lsp4xml\cache\http\java.sun.com\xml\ns\javaee\web-app_4_0.xsd.

我尝试了其他与此相关的方法,但没有奏效。问题出在哪里?
英文:

In my project's web.xml file, I'm defining configuration like this

&lt;web-app
    xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
    xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot;
    xmlns:web=&quot;http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd&quot;
    xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd&quot;
    id=&quot;WebApp_ID&quot;
    version=&quot;4.0&quot;&gt;

but eclipse give me this error

Error while downloading &#39;http://java.sun.com/xml/ns/javaee/web-app_4_0.xsd&#39; to C:\Users\ftk1187\.lsp4xml\cache\http\java.sun.com\xml\ns\javaee\web-app_4_0.xsd.

I tried other things about this but it doesn't work. Where is the problem?

huangapple
  • 本文由 发表于 2020年5月4日 15:20:10
  • 转载请务必保留本文链接:https://java.coder-hub.com/61587009.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定