简体   繁体   中英

Spring boot The project cannot be built until build path errors are resolved

We have 100% working project.

It works perfectly on 2 Windows computers, but when I clone it from repo to Mac - OS El Capitan, Eclipse with STS plugin - I can not built it, I get this error:

Archive for required library: '/Users/{username}/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar' in project '{project name}' cannot be read or is not a valid ZIP file {project name} 

In Maven pom.xml I have added required dependency, but it still doesn't solve the problem:

<dependency>
    <groupId>org.bouncycastle</groupId>
    <artifactId>bcprov-jdk15on</artifactId>
    <version>1.47</version>
</dependency>

Any advice will be appreciated!

删除/Users/{username}/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar ,并下载“bcprov-jdk15on-1.47.jar”(并验证它是否正确下载)然后手动将它放在那里。

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