Intellij unable to find classes from jar included in maven/gradle project.

Problem:

At times intellij is unable to identify classes even though you would have added respective jars in maven or gradle project.

Solution:

Try one of these solutions.

  • Invalidate caches :
  • Re-import dependencies and build project again.
  • Remove all intellij specific files and re-import the project
  • Check your pom or gradle file is not excluded

Comments are closed.

Blog at WordPress.com.

Up ↑

%d bloggers like this: