jay
jay

Reputation: 180

Jhipster v6.10.5 javax.servlet errors in Intellij 2020.3 for maven project

I was getting the compilation errors in Intellij after importing the maven project. Intellij was complaining about javax.servlet package not found. The project is building and running from the command line. I have tried reimporting the project after deleting the .idea folder and other idea files.

Upvotes: 1

Views: 65

Answers (1)

jay
jay

Reputation: 180

After struggling for two half days on this, I stumbled upon this link. It needed a simple toggle of maven profile. Uncheck the IDE profile option in the maven tool window.

The Jhipster docs have suggestion on enabling the IDE profile. This was causing all the errors.

Upvotes: 1

Related Questions