导入pom依赖后报错,project和部分标签的下划线报红

导入pom依赖后报错,project和部分标签的下划线报红:Element ‘plugin’ cannot have character [children], because the type’s content type is element-only和expected START_TAG or END_TAG not TEXT( position: …)

1、Element ‘plugin’ cannot have character [children], because the type’s content type is element-only:
在这里插入图片描述
原因:复制的时候,带了一些特殊符号。
解决方案:将那一串代码复制到notpad++ 或者文本上面,再复制到你的编译器里面,就会解决

2、expected START_TAG or END_TAG not TEXT( position: …)
在这里插入图片描述

原因:修改pom文件的时候部分内容格式不正确
解决方案:整理格式,删除多余空格

看图猜人物(二),欢迎评论
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_44082075/article/details/106840286