一、问题描述

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

相关文章: