老师,新建Servlet后,web,xml会报错,是为什么?
来源:2-1 第一个Servlet
卫星卫星
2021-05-16 16:34:25
老师,新建Servlet后,web,xml会报错,是为什么?
Multiple annotations found at this line:
- There is '1' error in 'javaee_7.xsd'.
- 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>.
1回答
好帮手慕小班
2021-05-16
同学你好,根据贴出的报错信息是在javaee_7.xsd中出现错误,在读取根信息时出现问题,同学是在创建Servlet类后,web.xml文件自动出现这个问题吗?
同学正常配置后,再来看看能否正常启动使用,如果可以正常使用,那就是eclipse的校验问题,并不影响项目的启动。祝学习愉快!
相似问题