Unable to see Maven Project Window

Answered

Dear all,

I am using IntelliJ IDEA Community Edition 2019.3.5. I am unable to view the Maven Project window that appears on the right hand side of the Window.Which usually looks like thisMy project structure is like this:

I have tried to add it following these steps:

File → Settings → Plugins → Maven Integration

and then

go to View → Tool Windows → Maven Projects to open it.

But I have only added Maven 2-Build plugin and that is the tab that is available on the right now.

I tried to search for Maven Projects plugin and add it but it didn't get added.

Please help me to add the Maven Project view, I would deeply appreciate it. 

1
3 comments

Maven tool window is available when

1. Bundled Maven plugin is enabled.

2. The project has at least one Maven-based module. You can add Maven module in an existing project from pom.xml file context menu -> Add as Maven Project action.

2

My Maven project wasn't recognized as Java:

  1. I couldn't run tests
  2. I lost auto-completion and syntax highlighting

And I couldn't see the maven window on my IDE, nor in `View / Tool Windows / Maven`.

I fixed it as following:

  1. Checked that the Maven and Java plugins were enabled (they were)
  2. Closed IntelliJ
  3. Deleted the `.idea/` folder at the root of the project
  4. Reopened IntelliJ
  5. Opened the Maven window, clicking on the link below the settings cogwheel on the top right of the IDE
  6. clicking on Profiles/
  7. Checking it for the modules that were unchecked
  8. Click on the `Reload all Maven projects incrementally` button
2

Deleting the .idea/ folder was important for making IntelliJ forget to treat my project as a Java only project instead of a Maven project.

0

Please sign in to leave a comment.