Chris Williams
Chris Williams

Reputation: 12481

Maven project builds but dependencies seem to be unavailable in IntelliJ IDEA

I have a multi-level Maven project that builds fine on the command-line using mvn clean install and builds in IntelliJ IDEA (2019.3) by manually running the parent project's clean and install phase. The Problems view shows nothing wrong. When I open files that have certain external libraries, they show as being unable to be resolved:

bad imports

I'm usually able to browse external libraries' contents in the project browser. I've noticed that these external libraries IntelliJ can't find are listed but not browsable.

external libraries

Other people working on our project with the same code base and same IntelliJ version don't seem to have this problem. I've tried:

None of the above seem to work.

Upvotes: 4

Views: 4502

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401975

The root case for this problem was not identified and is still under investigation, but what can help is removing the IDE settings and starting with the defaults.

Upvotes: 1

Related Questions