项目场景:
学习推荐系统时,运行SparrowRecSys工程,按照要求,需要先右键单击“pom.xml”,选择“maven”-->“reload project”。
问题描述:
出现大量报错,无法运行。例如:
was cached in the local repository, resolution will not be reattempted until the update
原因分析:
IDEA软件中maven本地库中的jar包有问题。
解决方案:
清除maven本地库中的文件,重新reload project。
Mac电脑中maven本地库地址在/Users/张三/.m2/repository。可从IDEA软件中查看: