英文:
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
<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">
but eclipse give me this error
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.
I tried other things about this but it doesn't work. Where is the problem?
专注分享java语言的经验与见解,让所有开发者获益!
评论