久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何修復 Eclipse 驗證錯誤“未檢測到文檔的語法

How to fix Eclipse validation error quot;No grammar constraints detected for the documentquot;?(如何修復 Eclipse 驗證錯誤“未檢測到文檔的語法約束?)
本文介紹了如何修復 Eclipse 驗證錯誤“未檢測到文檔的語法約束"?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

Eclipse 3.5.2 拋出 XML 模式警告消息:

Eclipse 3.5.2 is throwing an XML schema warning message:

No grammar constraints (DTD or XML schema) detected for the document.

application.xml 文件:

The application.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<application
  xmlns="http://java.sun.com/xml/ns/javaee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                      http://java.sun.com/xml/ns/javaee/application_5.xsd"
  version="5">

</application>

我不想禁用警告.如何讓 Eclipse 正確驗證 XML 文檔?

I do not want to disable the warning. How can I get Eclipse to correctly validate the XML document?

推薦答案

不知道你是否滿意地解決了這個問題,但我今天在使用 Eclipse 3.6 中的一些 Spring 配置文件時遇到了這個帖子.無論如何,我都無法讓錯誤在 Eclipse 的問題"視圖中消失,直到我右鍵單擊該問題并將其刪除.

Not sure if you ever resolved this satisfactorily but I ran across this posting today while working with some Spring configuration files in Eclipse 3.6. I could not get the error to go away in the Problems view in Eclipse no matter what, until I right-clicked on the problem and deleted it.

我認為如果我重新驗證并且確實存在問題,它會回來,但到目前為止還沒有.問題是我有一個幾乎相同的 Spring 配置文件,但沒有顯示錯誤.

I figured it would come back if I revalidated and there was actually a problem and so far it hasn't. The thing is I had an almost identical Spring config file that wasn't showing the error.

似乎有時某些東西會卡在 Eclipse 中.不知道為什么,但是在這與文件與編輯器不同步并且不得不強制刷新之間,我想我必須接受它.

It would seem that sometimes stuff just gets stuck in Eclipse. Not sure why but between this and files getting out of sync with the editors and having to force a refresh I guess I have to accept it.

這篇關于如何修復 Eclipse 驗證錯誤“未檢測到文檔的語法約束"?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

How to wrap text around components in a JTextPane?(如何在 JTextPane 中的組件周圍環繞文本?)
MyBatis, how to get the auto generated key of an insert? [MySql](MyBatis,如何獲取插入的自動生成密鑰?[MySql])
Inserting to Oracle Nested Table in Java(在 Java 中插入 Oracle 嵌套表)
Java: How to insert CLOB into oracle database(Java:如何將 CLOB 插入 oracle 數據庫)
Why does Spring-data-jdbc not save my Car object?(為什么 Spring-data-jdbc 不保存我的 Car 對象?)
Use threading to process file chunk by chunk(使用線程逐塊處理文件)
主站蜘蛛池模板: 国产一区二区三区在线 | 天天天操操操 | 久久91精品国产一区二区三区 | 国产98色在线 | 日韩 | 一级二级三级黄色 | 精品久久久久久久久久久久久久 | 日韩激情视频一区 | 中文字幕一区二区三区四区五区 | 久久国产一区二区三区 | 成人午夜免费福利视频 | 精品欧美激情在线观看 | chinese中国真实乱对白 | 一二三四在线视频观看社区 | 在线观看中文字幕视频 | 亚洲成人自拍 | 日本一区高清 | 日韩网站免费观看 | 国产一区视频在线 | 亚洲免费在线观看av | 国产亚洲一区二区三区在线观看 | 国产精品久久久久久婷婷天堂 | 91高清在线观看 | 久久精品伊人 | 中文字幕亚洲精品在线观看 | 97色综合| 男女羞羞视频大全 | 免费精品| 在线观看av网站永久 | 亚洲视频精品 | 亚洲综合热 | 亚洲精品在线看 | 亚洲精久| 精品久久国产老人久久综合 | 欧美一区二区三区在线看 | 91麻豆精品国产91久久久久久久久 | 国内精品久久久久久 | 国产精品美女 | 啪啪综合网 | 国产精品久久久久久一区二区三区 | 亚洲精品小视频在线观看 | 伊人网影院 |