In spring boot project I am getting unknown error in line 1 of pom.xml which is not allowing me to run the project. I have tried so many things but this error still persist. What is the solution for this unknown error?

 


To resolve this unknown error issue in pom.xml follow below steps:
● In pom.xml under parent tag change the version from 2.1.5 to 2.1.4.

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.1.4.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
</parent>

● Then right click on the project and go to 'Maven' and then do 'Update project'

 


Related #tags:     #error     #spring-boot     #pom.xml     #maven    

Related questions




Looking for change? Click below to prepare for technical interview.


Technical Interview Questions