知识点
相关文章
更多最近更新
更多org.apache.zookeeper.server.NIOServerCnxn - Thread Thread[main,5,main] died java.lang.NoSuchFieldError: AuthFailed
2019-03-22 21:28|来源: 书生
使用LocalCluster cluster = new LocalCluster();突然停掉
或者发生以下错误:
544 [main] INFO test.java.com.StormTridentKafkaTest - Simple Trident Kafka spout test for Kafka version 0.8 and Storm 0.9 (Version in pom.xml)
6167 [main] ERROR org.apache.zookeeper.server.NIOServerCnxn - Thread Thread[main,5,main] died
java.lang.NoSuchFieldError: AuthFailed
解决方案是指定版的slf4j-api和zookeeper,如下:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.6.4</version>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>zookeeper</artifactId>
<version>3.3.1</version>
</dependency>
相关问答
更多-
应该是jar包导入的问题,不同的jar包有相同的方法参数导致的冲突
-
应该是jar包导入的问题,不同的jar包有相同的方法参数导致的冲突
-
最后能够调试并修复问题。 问题在于安装,因为其中一个数据节点具有较旧版本的镶木地板罐(5.2 cdh分发版)。 用当前版本的罐子替换罐子后它工作正常。 Finally Able to debug and fix the issue. The Issue was with the installation as one of the data nodes are having older version of parquet Jars(5.2 cdh distribution). After replacin ...
-
自2.4以来,这个领域带有杰克逊版本: https://fasterxml.github.io/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonFactory.Feature.html#FAIL_ON_SYMBOL_HASH_OVERFLOW 所以你应该至少将你的jackson版本更新到版本2.4。 That field comes with jackson version since 2.4: https://fasterxml.github ...
-
这个错误来自jackson-annotations库。 在2.6中添加了USE_DEFAULTS枚举常量 而CDH 5.9.0具有老版本的jackson-annotations。 添加新版本以解决问题。 This error is from jackson-annotations library. The USE_DEFAULTS enum constant was added in 2.6 And CDH 5.9.0 has old version of jackson-annotations. Add ...
-
java.lang.NoSuchFieldError:HALF DL4J错误(java.lang.NoSuchFieldError: HALF Error with DL4J)[2023-05-11]
当您使用与编译时使用的不同的.class文件运行时,会发生该异常。 当在运行时使用不同版本的库时,会发生这种情况,而不是在编译期间使用该库。 Solved. I had to reduce the dependencies to include only:org.deeplearning4j deeplearning4j-core < ... -
修复游戏中的jar运行gdx-setup-ui.jar并更新你的游戏。 而已。 在构建游戏之前始终使用gdx-setup-ui.jar。 这样可以防止将来出现错误。 to fix the jars in your game run gdx-setup-ui.jar and update your game. Thats it. And always use gdx-setup-ui.jar before building your game. This will prevent errors in futu ...
-
您正在混合使用Spring版本,并且您正在混合使用Spring Security Versions(3.1.3和3.1.4),Spring Security 3.1对Spring 3.0有依赖性,而您正在尝试使用3.1。 Spring WS 2.1依赖于Spring 3.2 ...所以你有一个完整的混合。 我建议升级到Spring 3.2.4(最新版本)并使用一个properties元素来确定版本,而不是为每个依赖项指定它。 接下来我还建议使用
标签强制依赖某个 ... -
这可能是由类路径上的HTTP客户端依赖的不同版本引起的。 ( 参考1 , 参考2 )确保类路径上只有一个版本。 This is likely caused by different versions of the HTTP client dependency on the classpath. (Reference1, Reference2) Make sure you only have one version on the classpath.
-
Spring JUnit:java.lang.NoSuchFieldError:NULL(Spring JUnit: java.lang.NoSuchFieldError: NULL)[2023-04-28]
这是jmock-junit4的问题。 它是通过放置以下来删除的(导入jmock-junit时不包括junit) -org.jmock jmock-junit4 2.5.1 junit ...