New Spring Starter Project - pom error

Every time I create a Spring starter project in Eclipse (Luna 4.4.2) using STS, I get the following error: enter image description here

I tried Maven> Update Project and mvn clean install but I didn't work. This is a completely new project, I haven't made any changes. What's happening?

+3


source to share


2 answers


Try removing the tag <relativePath/>

. It looks like it is not checking the maven repository for the dependency, it might be because it thinks it is a local project due to the tag <relativePath/>

.



Does it build from the command line if you do mvn package

?

0


source


For those still facing the same error as in 2017, below is this solution.

I faced the same problem and managed to solve it



removing all maven local repo and updating it with maven -> update project

0


source







All Articles