Reputation: 77
I have a problem with my Intellij project.
I've already updated my Java JDK and JRE. Someone have another solution?
Thanks.
Upvotes: 1
Views: 7435
Reputation: 16431
If you do not use Mven or Gradle for dependency management, add the dependency on the javax.servlet-api.jar
to the module's dependencies manually.
If you use application server (e.g. Tomcat) you should to define it in IDE and IDE will create java-ee library that you can then add to the module's dependencies:
Upvotes: 1
Reputation: 21
If you have already imported this project as maven. Do mvn idea:idea
Else add framework support > maven and then do mvn clean/mvn idea:idea
Upvotes: 2