删除.m2文件夹以重新启动并使用maven更新并选中强制更新选项后,当我尝试启动tomcat时,我收到以下错误,
Publishing failed with multiple errors
Error reading file C:\Users\***\.m2\repository\ca\juliusdavies\not-yet-commons-ssl\0.3.17\not-yet-commons-ssl-0.3.17.jar
C:\Users\***\.m2\repository\ca\juliusdavies\not-yet-commons-ssl\0.3.17\not-yet-commons-ssl-0.3.17.jar (The system cannot find the file specified)
Error reading file C:\Users\***\.m2\repository\org\opensaml\opensaml\2.6.6\opensaml-2.6.6.jar
C:\Users\***\.m2\repository\org\opensaml\opensaml\2.6.6\opensaml-2.6.6.jar (The system cannot find the file specified)
我可以从哪个存储库安全地下载这些jar文件,如何在项目中手动包含它们?
首先,您需要在本地系统上下载jar。然后使用以下命令安装它:
cd <path that includes your .jar file>
mvn install:install-file -Dfile=<jarfile.jar> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<jar>
qazxsw poi,qazxsw poi,qazxsw poi和qazxsw poi需要与你在version
中的相同
groupId