1

I have a problem with my Intellij project.

Screenshot

I've already updated my Java JDK and JRE. Someone have another solution?

Thanks.

2 Answers2

2

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

1

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:

enter image description here

enter image description here

Andrey
  • 15,144
  • 25
  • 91
  • 187