莱恩:在maven上找不到protoc jar,即使我在那里找到了所有其他protobuffer jar?
当前具有生成的一些输出,如下所示:莱恩:在maven上找不到protoc jar,即使我在那里找到了所有其他protobuffer jar?,maven,clojure,protocol-buffers,leiningen,Maven,Clojure,Protocol Buffers,Leiningen,当前具有生成的一些输出,如下所示: 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:pr
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/)
所以它发现protobufjava
和protobufjavautil
很好,但找不到protoc
我查过了,它声称它就在那里:
我的项目中有这些行。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"]
它找到前两个罚款,然后在最后一个失败
我一辈子都搞不清楚这里发生了什么。有什么线索吗??我以前解决过许多愚蠢的依赖性问题,但这一个毫无意义
谢谢 此特定工件要求您指定一个描述运行时平台的分类器:
[com.google.protobuf/protoc "3.3.0" :classifier "linux-x86"]
如果您使用并搜索“protoc”,您将在第一行看到它,在下载
列中列出了所有不同的分类器