IntelliJ (File > Settings > Build,Execution,Deployment > Build Tools > Maven )
change maven home path to "user maven wrapper".
It worked for me.