I tried to connect PostgreSQL connector driver with maven but it doesn't find this dependency
I tried to add driver as .jar file with Project structure and it worked, but I want to add it just like dependency in maven.
I tried to connect PostgreSQL connector driver with maven but it doesn't find this dependency
I tried to add driver as .jar file with Project structure and it worked, but I want to add it just like dependency in maven.
Since IntelliJ IDEA 2020.1, it will no longer automatically import updates from your pom.xml when you make changes within the IDE (it will import when - for example - updating from version control). You need to explicitly import changes by clicking the floating refresh button (see top right corner inside your pom.xml view) for the changes to your pom.xml to be processed.
As far as I know, the reason for this change is to prevent multiple time-consuming imports when you are updating your pom files.
As indicated in the comments by CrazyCoder, IntelliJ 2020.1.2 will introduce an option to enable automatic import for any changes again.
As I understood it was IDEA problem. I used "mvn clean compile" in terminal and idea started see the dependency