Element 'dependency' cannot have character [children], because the type's content type is element-only. 根据错误提示我们可知dependency标签下包含了不支持的字符,出现此种情况可通过其他编辑工具,如sublime打开该文件,删除子元素groupId、artifactId、version前的空格,使用Tab重新排版,即可解决。
排版问题Element 'dependency' cannot have character [children], because the type's content type is element-only.根据错误提示我们可知dependency标签下包含了不支持的字符,出现此种情况可通过其他编辑工具,如sublime打开该文件,删除子元素groupId、artifactId、version前的空格,使用Tab重新排版,即可解决。...