javamavenmaven-pluginmaven-surefire-pluginmaven-dependency

Missing artifact error and The container 'Maven Dependencies' references non existing library


I start a new project in Maven and I had some code while searching for dependencies ,I get this error/message

"Missing artifact com.google.common:google-collect:jar:1.0-rc1"

Missing artifact com.google.common:google-collect:jar:1.0-rc1

and this in the code

enter image description here

how to solve it ? I found an answer


Solution

  • Solution : too old dependencies that already moved to other place just search in google for the other , much newer dependency

    enter image description here

    enter image description here