首页 > 其他 > 详细

No grammar constraints (DTD or XML Schema) referenced in the document.

时间:2019-04-17 00:31:27      阅读:304      评论:0      收藏:0      [点我收藏+]

问题描述

web.xml 使用 Servlet4.0 版本,No grammar constraints (DTD or XML Schema) referenced in the document.

解决方法

添加 <!DOCTYPE html>

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<web-app version="4.0" 
    xmlns="http://xmlns.jcp.org/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee           
    http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd">
  
</web-app>

No grammar constraints (DTD or XML Schema) referenced in the document.

原文:https://www.cnblogs.com/wumz/p/10720976.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!