Sts4: Maven configuration error

Created on 17 May 2019  路  2Comments  路  Source: spring-projects/sts4

Hi

I downloaded STS 4.2.1.RELEASE and created a simple demo project.

I get a weird Problem saying:

Description Resource Path Location Type
Unknown pom.xml /demo line 1 Maven Configuration Problem

When I open the pom.xml, the first line is highlighted with an error.

I can load the pom.xml into another version of eclipse without problem.

Here is the screen shot
Screen Shot 2019-05-17 at 12 28 07

Most helpful comment

We are looking into it already. Looks like there is NPE occurring in Maven Jar Archiver plugin in M2E and that is the source for that error... I have created: https://bugs.eclipse.org/bugs/show_bug.cgi?id=547409 for now

All 2 comments

We are looking into it already. Looks like there is NPE occurring in Maven Jar Archiver plugin in M2E and that is the source for that error... I have created: https://bugs.eclipse.org/bugs/show_bug.cgi?id=547409 for now

Until its fixed just downgrade the maven-jar-plugin like here:
https://github.com/spring-projects/spring-boot/issues/16846

Was this page helpful?
0 / 5 - 0 ratings