pom文件出現Element 'xxxxxxx' cannot have character [children],because the type's content type is element-only問題


1)問題描述:

pom.xml文件中出現

Element 'xxxxxxx' cannot have character [children],because the type's content type is element-only.

2)問題原因:

配置文件中的dependencies節點下面只能是元素節點,不能有字符文本存在。

3)解決方法:

仔細檢查文檔,可能會存在標點符號,空格等其他文本字符。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM