java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected

在安装hive经常出的错误:

解决办法:

将hive bin里的jline.jar复制替换掉hadoop/share/hadoop/yarn/lib的jar包

即可

时间: 2024-09-29 16:41:47

java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected的相关文章

[ERROR] Terminal initialization failed; falling back to unsupported java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected

1:出现此种错误应该是jar版本包冲突了,启动hive的时候,由于hive依赖hadoop,启动hive,会将hadoop的配置以及jar包等等导入到hive中,导致jar包版本冲突,下面贴一下错误,然后贴一下解决方法: 1 [[email protected] bin]# ./hive 2 3 Logging initialized using configuration in jar:file:/home/hadoop/soft/apache-hive-1.2.1-bin/lib/hive-

Hive启动报错: Found class jline.Terminal, but interface was expected

报错: 1 [ERROR] Terminal initialization failed; falling back to unsupported 2 java.lang.IncompatibleClassChangeError: Found class jline.Terminal, but interface was expected 3 at jline.TerminalFactory.create(TerminalFactory.java:101) 4 at jline.Terminal

hadoop2.6.0+hive1.2启动报错java.lang.IncompatibleClassChangeError

java.lang.IncompatibleClassChangeError 不兼容的类变化错误.当正在执行的方法所依赖的类定义发生了不兼容的改变时,抛出该异常.一般在修改了应用中的某些类的声明定义而没有对整个应用重新编译而直接运行的情况下,容易引发该错误. [报错信息] [ERROR] Terminal initialization failed; falling back to unsupported java.lang.IncompatibleClassChangeError: Found

解决java.lang.IncompatibleClassChangeError

今天整理了Maven的pom.xml文件后,把多个项目用maven集成在了一起,结果在启动Tomcat的时候,遇到一个奇葩的错误: 严重: Servlet [spring] in web application [/AbcWeb] threw load() exception java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVi

【JUnit 报错】java.lang.IncompatibleClassChangeError

使用Junit 测试spring时候报错: 1 java.lang.IncompatibleClassChangeError: class org.springframework.core.LocalVariableTableParameterNameDiscoverer$ParameterNameDiscoveringVisitor has interface org.springframework.asm.ClassVisitor as super class 2 at java.lang.

Caused by: java.lang.IncompatibleClassChangeError: Implementing class

1.错误描述 严重: StandardWrapper.Throwable org.apache.cxf.bus.extension.ExtensionException at org.apache.cxf.bus.extension.Extension.tryClass(Extension.java:167) at org.apache.cxf.bus.extension.Extension.getClassObject(Extension.java:179) at org.apache.cxf

java.lang.IncompatibleClassChangeError:可以考虑是否是jar包冲突

一.背景:启动tomcat的时候,报错: java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface org.springframework.asm.ClassVisitor as super class 二.原因: spring-test的版本号跟spring-core等相关的spring版本不

一个java.lang.IncompatibleClassChangeError的问题解决

引入一个第三方库做一个功能,依往常一样,引入对应的pom,对方的包里是有mina的,所以调用的相应的功能的时候报如下错误. Exception in thread "pool-18-thread-1" java.lang.IncompatibleClassChangeError at org.apache.mina.core.filterchain.DefaultIoFilterChain.register(DefaultIoFilterChain.java:267) at org.a

Maven的包依赖冲突可引发java.lang.IncompatibleClassChangeError错误

新版API上线后,发现LOG文件没有正常输出.查看Tomcat的Log文件发现如下的错误信息 May 29, 2015 7:56:21 AM com.sun.xml.ws.server.sei.EndpointMethodHandler invoke SEVERE: Found class ch.qos.logback.core.spi.CyclicBufferTracker, but interface was expected java.lang.IncompatibleClassChang