Trust me, I have googled for 4 hours, so I've tried invalidate/restart, deleting the gradle/.cache folder, reimport the project, refresh all the gradble projects, even restarting the computer. None of them worked.
So here's the actual issue: I have an old artifact called traac-core 2.4.0, it uses jackson 2.7.2. Then I haven another project called traac-java, that uses traac-core as the dependency. With this old setup, I can import com.fasterxml.jackson.core.JsonProcessingException with no problem: using traac-core 2.4.0, it has jackson 2.7.2 import jackson works
So now since jackson 2.7.2 has vulnerability issues, I updated it to 2.14.2 in traac-core, built/deployed the newer version (2.5.0) to jfrog. Then I updated my traac-java gradle build. Then the import doesn't work anymore: now using traac-core 2.5.0 with jackson 2.14.2 import doesn't work anymore
As I said at the beginning, I tried everything I could find online that made sense to me.
I've also tried using traac-core 2.3.0, which also has jackson 2.7.2, that doesn't work neither. It almost seems like for some reason the import is fixated with version 2.4.0, but I've cleared the cache.