user1354825
user1354825

Reputation: 1541

Spring boot application not detected by Intellij

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.

Upvotes: 4

Views: 21084

Answers (3)

Amirhossein Farmad
Amirhossein Farmad

Reputation: 149

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.

Upvotes: 4

Sonali
Sonali

Reputation: 11

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

Upvotes: -1

Vikrant Korde
Vikrant Korde

Reputation: 419

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.

Upvotes: 7

Related Questions