简体   繁体   中英

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 "

缺少工件 com.google.common:google-collect:jar:1.0-rc1

and this in the code

在此处输入图像描述

how to solve it ? I found an answer

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

在此处输入图像描述

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM