IntelliJ 2020 java error: package com.fasterxml.jackson.dataformat.yaml does not exist
Answered
Just upgraded to IDEA Ultimate 2020.1 Build #IU-201.6668.121, built on April 8, 2020
I am now getting this error:
java: package com.fasterxml.jackson.dataformat.yaml does not exist
It is a Maven project. On the command line it builds just fine.
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>
<version>2.10.3</version>
</dependency>
Please sign in to leave a comment.
Try to clear caches (File | Invalidate caches and Restart). Does it help? If not, please share a sample project where the issue could be reproduced.
I tried by clearing cache not working...
Can you share a sample project to reproduce the issue?
By the way, does it help if you disable this option: https://i.imgur.com/8hJeqIp.png?
No working that way also. I share a sample project for this.
https://github.com/BhuwanUpadhyay/intellij-bug-2020.1
Could not reproduce that, here is the video:
https://cloud.kannikov.ru/index.php/s/87irJZDGL4FLdXq
That means that the project is configured correctly and the cause is somewhere in caches. Try clearing Maven cache, reimport the project (after removing .idea directory) and, as the last step, reinstall IntelliJ IDEA.
Same issue here. I submitted a ticket yesterday
https://intellij-support.jetbrains.com/hc/en-us/requests/2599165
Please try if this helps: https://youtrack.jetbrains.com/issue/IDEA-237320#focus=streamItem-27-4081510.0-0