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)解决方法:

仔细检查文档,可能会存在标点符号,空格等其他文本字符。

猜你喜欢

转载自www.cnblogs.com/CKhomepage/p/11809001.html