java: module not found Intellij / Maven

When this happens check the version of the module, and update it to the latest version from the Maven repository. See version tag below. This is what must be updated. This was the only way I could find to resolve this sudden random error.

eg

    			<groupId>com.fasterxml.jackson.dataformat</groupId>
    			<artifactId>jackson-dataformat-yaml</artifactId>
    			<version>2.12.1</version>