How to fix this maven warning on Eclipse: “There is no schema defined for this pom.xml”

后端 未结 1 1483
野的像风
野的像风 2021-01-14 15:29

So I have the very simple pom.xml below:


  4.0.0
  com.mycompany
  &l         


        
相关标签:
1条回答
  • 2021-01-14 16:17

    Like the error says you are missing the schema declaration

          <project xmlns="http://maven.apache.org/POM/4.0.0" 
                 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
                 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
                 http://maven.apache.org/xsd/maven-4.0.0.xsd">              
           </project> 
    
    0 讨论(0)
提交回复
热议问题