Intellij has a lot of interesting features and for that it makes use of cache. That sometimes makes problems like this. After invalidating caches and restarting IntelliJ the dependencies that were cached are removed and updated on the next compiling, and these errors were fixed.
Comments