Invalid content was found starting with element ‘{“http://maven.apache.org/POM/4.0.0“:plugin}‘. One

pom.xml 报错

Invalid content was found starting with element 
'{"http://maven.apache.org/POM/4.0.0":plugin}'. One of 
'{"http://maven.apache.org/POM/4.0.0":parent, 
"http://maven.apache.org/POM/4.0.0":packaging, "http://maven.apache.org/POM/4.0.0":name, 
"http://maven.apache.org/POM/4.0.0":description, "http://maven.apache.org/POM/4.0.0":url, 
"http://maven.apache.org/POM/4.0.0":prerequisites, 
"http://maven.apache.org/POM/4.0.0":issueManagement, 
"http://maven.apache.org/POM/4.0.0":ciManagement, 
"http://maven.apache.org/POM/4.0.0":inceptionYear, 
"http://maven.apache.org/POM/4.0.0":mailingLists, 
"http://maven.apache.org/POM/4.0.0":developers, 
"http://maven.apache.org/POM/4.0.0":contributors, 
"http://maven.apache.org/POM/4.0.0":licenses, "http://maven.apache.org/POM/4.0.0":scm, 
"http://maven.apache.org/POM/4.0.0":organization, 
"http://maven.apache.org/POM/4.0.0":build, "http://maven.apache.org/POM/4.0.0":profiles, 
"http://maven.apache.org/POM/4.0.0":modules, 
"http://maven.apache.org/POM/4.0.0":repositories, 
"http://maven.apache.org/POM/4.0.0":pluginRepositories, 
"http://maven.apache.org/POM/4.0.0":reports, "http://maven.apache.org/POM/4.0.0":reporting, 
"http://maven.apache.org/POM/4.0.0":dependencyManagement, 
"http://maven.apache.org/POM/4.0.0":distributionManagement, 
"http://maven.apache.org/POM/4.0.0":properties}' is expected.

代码截图

Invalid content was found starting with element ‘{“http://maven.apache.org/POM/4.0.0“:plugin}‘. One_第1张图片

问题原因

标签使错误,应该最外层是     之后是    之后才是我写的  

修改

Invalid content was found starting with element ‘{“http://maven.apache.org/POM/4.0.0“:plugin}‘. One_第2张图片

你可能感兴趣的:(Invalid content was found starting with element ‘{“http://maven.apache.org/POM/4.0.0“:plugin}‘. One)