Unknown Spring Boot Error

Asked

Viewed 306 times

1

When creating a Maven project by https://start.spring.io/ and import it in Eclipse IDE, is displayed 1 error in the view problems eclipse. The problem is that in description, no hint is displayed(Unknown) of what is causing it. I am following in the footsteps of a Youtube channel, however, I would like to know if this error can be impeding for me in the development of the Project, I need to make some configuration that is missing or make some recommendation?

inserir a descrição da imagem aqui

  • Try to create the project by the eclipse itself, I always go around and never had problems, new >> project >> spring start project

  • That way, I lose all the practicality of inheriting all the dependencies needed to start the implementation, it’s not?!

  • Don’t miss, there’s a Wizard where you set things up, check out the print https://i.imgur.com/Piaamcm.png now that I’m paying attention, I’m talking about the Spring Tool Suite (STS) but I think you have a plugin for the eclipse that enables these things

  • Are you using the Maven Embedded installation or have some proxy configuration in your settings.xml?

  • Anyway @Andréfilipe, if the code is compiling while running Maven Goals and is working, you can select that error and delete it from the list.

  • I’ll check tonight as soon as I get home. OK?

Show 1 more comment

1 answer

1


I did some more research and managed to simulate this problem, in fact it is a problem in the Eclipse itself, more specifically in the m2e connector, as you describe this bug.

There are two alternatives:

  1. Update the plugin using this repository
  2. Reduce the version of maven-jar-plugin.version in his pom.xml(effective display of pom) 3.1.2 for 3.1.1, according to this bug report
  • By adding the <properties> &#xA; <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>&#xA;</properties>, the following error was raised in description: Description Resource Path Location Type Project Configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix. line 1 Maven Configuration Problem.

  • With the plugin update worked?

  • I saw it was for Eclipse IDE, I’m using the Spring Tools Suits so I didn’t download the plugin, I just changed the pom.xml

  • Cool, if Maven Update didn’t work (usually an Alt+F5 in the project, or right-click > Maven > Update Project), try the plugin update as well. STS is nothing more than an Eclipse full of plugins, Maven may be outdated anyway

  • Hi, I just realized Update Project in my project and the log of problems with the error was solved.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.