gpt4 book ai didi

java - dse-java-driver-core-1.5.0.jar 需要哪些依赖 JAR 文件?

转载 作者:行者123 更新时间:2023-12-02 11:37:36 25 4
gpt4 key购买 nike

我正在尝试使用 Talend 中的 DataStax Java 驱动程序来生成 TimeUUID;但是我不断收到类未找到异常。我很确定原因是因为在执行时 JAR 文件会访问网络上的某些外部存储库以获取依赖库,而我工作的网络防火墙阻止 Talend 获取这些依赖项。是否有特定的 JAR 可供我手动下载并安装到 Talend 中,以便我的作业在执行时无需访问 Web 来获取库?

我正在使用:

  • Talend Open Studio for Big Data 版本 6.4.1
  • Oracle Java JDK 8 更新 161(标准版)
  • Windows 10 企业版 64 位版本 1709
  • dse-java-driver-core-1.5.0.jar

最佳答案

DataStax 提供了一个 tarball,其中包含所有依赖项,可以从 here 下载。 .

使用 maven 和 dependency:tree 目标,我生成了 1.5.0 的依赖关系树


[信息] com.datastax.dse:dse-java-driver-core:jar:1.5.0
[信息] +- io.netty:netty-handler:jar:4.0.47.Final:编译
[信息] | +- io.netty:netty-buffer:jar:4.0.47.Final:编译
[信息] | +- io.netty:netty-transport:jar:4.0.47.Final:编译
[信息] |\- io.netty:netty-codec:jar:4.0.47.Final:编译
[信息] +- com.google.guava:guava:jar:19.0:compile
[信息] +- io.dropwizard.metrics:metrics-core:jar:3.2.2:compile
[信息] +- org.slf4j:slf4j-api:jar:1.7.25:compile
[信息] +- com.github.jnr:jnr-ffi:jar:2.0.7:compile
[信息] | +- com.github.jnr:jffi:jar:1.2.10:编译
[信息] | +- com.github.jnr:jffi:jar:native:1.2.10:运行时
[信息] | +- org.ow2.asm:asm:jar:5.0.3:编译
[信息] | +- org.ow2.asm:asm-commons:jar:5.0.3:编译
[信息] | +- org.ow2.asm:asm-analysis:jar:5.0.3:编译
[信息] | +- org.ow2.asm:asm-tree:jar:5.0.3:编译
[信息] | +- org.ow2.asm:asm-util:jar:5.0.3:编译
[信息] |\- com.github.jnr:jnr-x86asm:jar:1.0.2:编译
[信息] +- com.github.jnr:jnr-posix:jar:3.0.27:compile
[信息] |\- com.github.jnr:jnr-constants:jar:0.9.0:compile
[信息] +- com.fasterxml.jackson.core:jackson-core:jar:2.8.8:compile
[信息] +- com.fasterxml.jackson.core:jackson-annotations:jar:2.8.8:compile
[信息] +- com.fasterxml.jackson.core:jackson-databind:jar:2.7.9.2:compile
[信息] +- com.esri.geometry:esri-geometry-api:jar:1.2.1:compile
[信息] | +- org.json:json:jar:20090211:编译
[信息] |\- org.codehaus.jackson:jackson-core-asl:jar:1.9.12:compile
[信息] +- org.xerial.snappy:snappy-java:jar:1.1.2.6:编译
[信息] +- net.jpountz.lz4:lz4:jar:1.3.0:编译
[信息] +- io.netty:netty-transport-native-epoll:jar:4.0.47.Final:编译
[信息] |\- io.netty:netty-common:jar:4.0.47.Final:编译
[信息]\- org.hdrhistogram:HdrHistogram:jar:2.1.9:compile

请注意,jnr jar 及其依赖项以及指标库都是可选的(如果您在 Cluster.builder() 中使用 withoutMetrics)。 lz4 和 snappy 库也是可选的(仅在使用压缩时才需要)

关于java - dse-java-driver-core-1.5.0.jar 需要哪些依赖 JAR 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48813091/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com