Why am I getting Unknown error in line 1 of pom.xml?

后端 未结 18 1401
悲&欢浪女
悲&欢浪女 2020-12-02 06:43

Getting unknown error at Line 1 in pom.xml in Eclipse IDE. It was working fine till yesterday, but all of a sudden after updating my project from master and aft

18条回答
  •  -上瘾入骨i
    2020-12-02 07:11

    As per the suggestion from @Shravani, in my pom.xml file, I changed my version number in the area from this:

    
        org.springframework.boot
        spring-boot-starter-parent
        2.1.5.RELEASE
         
    
    

    to this:

    
        org.springframework.boot
        spring-boot-starter-parent
        2.1.4.RELEASE
         
    
    

    I then right clicked on the project and did a 'Maven -> Update project...'. This made the problem go away for me.

提交回复
热议问题