当前有一些来自构建的输出如下:
Retrieving com/google/protobuf/protobuf-java/3.3.0/protobuf-java-3.3.0.jar from central
Retrieving com/google/protobuf/protobuf-java-util/3.3.0/protobuf-java-util-3.3.0.jar from central
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in central (https://repo1.maven.org/maven2/)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in clojars (https://clojars.org/repo/)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in sonatype snapshots (https://oss.sonatype.org/content/repositories/snapshots)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in sonatype releases (https://oss.sonatype.org/content/repositories/releases)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in SonatypeSnapshots (https://oss.sonatype.org/content/repositories/snapshots/)
Could not find artifact com.google.protobuf:protoc:jar:3.3.0 in SonatypeReleases (https://oss.sonatype.org/content/repositories/releases/)所以它认为protobuf-java和protobuf-java-util很好,但却找不到protoc??
我查过了,它声称它在那里:https://mvnrepository.com/artifact/com.google.protobuf/protoc
我的project.clj里有这些行
[com.google.protobuf/protobuf-java "3.3.0"]
[com.google.protobuf/protobuf-java-util "3.3.0"]
[com.google.protobuf/protoc "3.3.0"]它找到前两个罚款,然后失败在最后!
我不知道这到底是怎么回事。有什么线索吗?我以前解决过许多愚蠢的依赖问题,但这个问题没有任何意义。
谢谢!
发布于 2017-05-06 00:44:25
这个特定的伪制品要求您指定一个描述运行时平台的分类器:
[com.google.protobuf/protoc "3.3.0" :classifier "linux-x86"]如果您使用中央仓库搜索引擎并搜索"protoc“,您将在第一行看到它和Download列中列出的所有不同的分类器。
https://stackoverflow.com/questions/43812586
复制相似问题