The error happens as soon as I create the Maven project, I use Eclipse Oxygen.
My suggestion is to remove the dependency that is causing the conflict in your local repository.
.m2 / repository / org / apache / maven / plugins / maven-resources-plugin
Then build the project to see if the problem is resolved.