Maven - Suppress Overriding managed version warning in Eclipse

后端 未结 4 1255
悲&欢浪女
悲&欢浪女 2021-01-31 15:32

I am using spring-boot, and experienced an error similar to the one described here. I added the following to my pom.xml.

    
            


        
4条回答
  •  [愿得一人]
    2021-01-31 16:02

    When that warning shows up, you can open the Quick-Fix menu on the warning (Ctrl+1) and select

    Ignore this warning

    This will add the comment on the version line, like :

    
       javax.validation
       validation-api
       1.1.0.Final
    
    

    Your problem is you manually added that comment on the wrong line.

提交回复
热议问题