If you get a such error message on installing (or surely on cleaning) Maven :

The project (PROJECT_PATH\pom.xml) has 1 error [ERROR] Non-parseable POM .m2\repository\org\springframework\boot\spring-boot-starter-parent\2.7.3\spring-boot-starter-parent-2.7.3.pom: unexpected markup [Help 2] [ERROR]

This error appears when the pom for the spring starter is corrupt. So verify the file at .m2\repository\org\springframework\boot\spring-boot-starter-parent\2.7.3\spring-boot-starter-parent-2.7.3, and see if the file is still valid.

Finaly to resolve with a clean solution you should just delete everything in .m2/repository folder so that Maven will redownload the dependencies.

thank you!

Aller au contenu principal