Changing the version of a maven dependency in IntelliJ results in Intellij having both versions, old and new, loaded. These steps do not help:
IntelliJ
Intellij