源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  pom报错:Element' dependency' cannot have character [ children], because the type's content type is e

pom报错:Element' dependency' cannot have character [ children], because the type's content type is e

分类: 文章 • 2023-04-08 13:58:07

一、问题描述

Maven依赖pom文件报错,很神奇:
Element' dependency' cannot have character [ children], because the type's content type is element-only.

pom报错:Element' dependency' cannot have character [ children], because the type's content type is e

二、问题原因和解决

就是因为在GAV前面的空格,里面不知道有什么牛鬼蛇神,所以解决办法就是,把GAV前面的空格都删除一下,然后,再使用tab键回复就好了!
pom报错:Element' dependency' cannot have character [ children], because the type's content type is e

相关推荐

  • Element ‘configuration’ cannot have character [children], because the type’s content type is element
  • Element 'plugin' cannot have character [children], because the type's content type is element-only
  • element 'project' cannot have character [children], because the type's content type is element-only
  • pom报错:Element' dependency' cannot have character [ children], because the type's content type is e
  • pom.xml的标签报错 Element ‘project‘ cannot have character [children], because the type‘s content**
  • Element 'dependency' cannot have character [children], because the type's content type is element-on
  • IDEA Error:java: Compilation failed: internal java compiler error
  • 解决IDEA中运行项目出现: Error:java: Compilation failed: internal java compiler error错误
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号