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