4

Intellij is not detecting spring boot application created in a different IDE. The application in discussion is the one starting with the letter "e"

enter image description here

How can i fix this ? I am using intellij community edition.

2
  • 1
    there is no standard spring-boot-application which inteliJ can auto detect. If it is a maven project you miss the parent pom.xml Commented Jan 4, 2022 at 8:41
  • pom.xml is present and similar to the others Commented Jan 4, 2022 at 9:08

4 Answers 4

7

As mentioned in the comment, there is no standard spring boot application in IntelliJ.

In the screenshot provided in the question, there is no pom.xml file. If you have that in the project then right-click on it -> Maven -> Add as a maven project.

If this doesn't work, read this https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000023059-IntelliJ-does-not-recognize-workspace-maven-modules for more analysis ways.

Sign up to request clarification or add additional context in comments.

Comments

5

Sometimes a Spring boot application can’t be detected by IntelliJ IDEA!

  1. Open the parent pom.xml in IntelliJ IDEA.
  2. Right-click, mouse over Maven, click Unlink Maven Projects.
  3. IntelliJ IDEA removes the current maven configuration and rescans again. it offers newly found maven projects to load as notifications. Try them.

1 Comment

simple and effective!
0

In my case, i opened the pom.xml that contains all submodules references, right click, maven and then Sync projects. Automatically all spring boot services was added at services toolbox.

PS. IntelliJ Ultimate

Comments

-1

Reload your project's maven, it will solve your problem.

3 Comments

Please add some more explanation to your answer such that others can learn from it. How would that "reload" look like?
... and why would it solve the problem?
Your answer could be improved with additional supporting information. Please edit to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers in the help center.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.