Software Development

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

Published on Java Code Geeks with permission by Abhijeet Iyengar, partner at our JCG program. See the original article here: Intellij unable to find classes from jar included in maven/gradle project

Opinions expressed by Java Code Geeks contributors are their own.

Want to know how to develop your skillset to become a Java Rockstar?

Join our newsletter to start rocking!

To get you started we give you our best selling eBooks for FREE!

 

1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions

6. Spring Interview Questions

7. Android UI Design

 

and many more ....

 

Receive Java & Developer job alerts in your Area

I have read and agree to the terms & conditions

 

Abhijeet Iyengar

Abhijeet is a Software Engineer working with financial client . He has been involved in building UI and service based applications.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Back to top button