首页 > 其他 > 详细

pom文件出现Element 'xxxxxxx' cannot have character [children],because the type's content type is element-only问题

时间:2019-11-06 23:14:49      阅读:891      评论:0      收藏:0      [点我收藏+]

1)问题描述:

pom.xml文件中出现

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

技术分享图片

2)问题原因:

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

3)解决方法:

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

pom文件出现Element 'xxxxxxx' cannot have character [children],because the type's content type is element-only问题

原文:https://www.cnblogs.com/CKhomepage/p/11809001.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!