Dims
Dims

Reputation: 51239

Sudden "package doesn't exist" in IntelliJ IDEA

Recently I started to receive the following errors about random packages:

enter image description here

mvn build is working of course, the problem is only for building within Idea.

Sometimes I can fix it with reloading maven project, sometimes I can't.

"Disappeared" package is listed both in pom and in the list of libraries:

enter image description here

Upvotes: 1

Views: 4296

Answers (1)

Lisbon
Lisbon

Reputation: 186

Reopen IntelliJ again. On the top right corner choose Maven- perform clean and install for the module in which you face this error:- "Package does not exist"

Upvotes: 1

Related Questions