class org.apache.hadoop.hdfs.web.HftpFileSystem cannot access its superinterface

Posted ITboy-Bear

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了class org.apache.hadoop.hdfs.web.HftpFileSystem cannot access its superinterface相关的知识,希望对你有一定的参考价值。

异常信息:

Exception in thread "main" java.lang.IllegalAccessError: class org.apache.hadoop.hdfs.web.HftpFileSystem cannot access its superinterface org.apache.hadoop.hdfs.web.TokenAspect$TokenManagementDelegator

完整错误信息如下:

 

解决:在IDEA导出jar包之前,将依赖包中所有hadoop-hdfs-***.jar包删除

以上是关于class org.apache.hadoop.hdfs.web.HftpFileSystem cannot access its superinterface的主要内容,如果未能解决你的问题,请参考以下文章