Spring boot, 1 problem was encountered while building the effective model

1

I'm new to spring boot and I have a question. When I start a new maven project, in "Spring tool suite", I find this error in my POM.xml

  

"1 problem was encountered while building the effective model [FATAL]   Non-parseable POM   C: \ Users \ micha.m2 \ repository \ org \ apache \ maven \ plugins \ maven-surefire-plugin \ 2.21.0 \ maven-surefire-plugin-2.21.0.pom:   only whitespace content allowed before start tag and not \ u0   (position: START_DOCUMENT seen \ u0 ... @ 1: 1) @ line 1, column 1 "

Does anyone know how I can solve this problem?

    
asked by michael garcia 17.07.2018 в 04:16
source

1 answer

0

The error is in this Maven dependency: maven-surefire-plugin-2.21.0.pom,

Find C: \ Users \ micha.m2 \ repository \ org \ apache \ maven \ plugins \ maven-surefire-plugin \ 2.21.0 \ maven-surefire-plugin-2.21.0.pom

Open the .pom and find / remove any characters that you have at the beginning of the document line (complain that you find \ u0 it is a ".") but it can be anything.

The pom should start the file with <project>

This should solve the problem.

    
answered by 17.07.2018 в 12:06