1. 程式人生 > >如何解決idea中XML配置文件裏面的URI is not registered問題

如何解決idea中XML配置文件裏面的URI is not registered問題

web text idea url cto xmlns 如何 register tex

在寫web項目的時候經常會遇到xml報錯的情況,xmlns變紅色,這時我們可以根據如下來解決這個問題:
技術分享圖片
在Schemas and DTDs中按+號:
技術分享圖片
把報錯的URL輸入進去:
技術分享圖片
點擊OK即可

如何解決idea中XML配置文件裏面的URI is not registered問題