spark报错class no found scala/collection/GenTraversableOnece$class已解决
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了spark报错class no found scala/collection/GenTraversableOnece$class已解决相关的知识,希望对你有一定的参考价值。
1.
原因:spark的版本为
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.11</artifactId>
<version>2.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.10</artifactId>
<version>2.2.0</version>
</dependency>
将spark sql的版本修改成:
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_2.11</artifactId>
<version>2.2.0</version>
</dependency>
scalca的lib使用2.11.0的版本
以上是关于spark报错class no found scala/collection/GenTraversableOnece$class已解决的主要内容,如果未能解决你的问题,请参考以下文章
SpringBoot整合Mybatis报错(No serializer found for class com.xxxx and no properties discovered to create)
eclipse 运行 mapreduce程序报错 No job jar file set. User classes may not be found. See JobConf(Class) or
Json与Ajax交互报错解决No converter found for return value of type: class com.github.pagehelper.PageInfo(代码片
Json与Ajax交互报错解决No converter found for return value of type: class com.github.pagehelper.PageInfo(代码片
No serializer found for class org.hibernate.proxy.pojo.bytebuddy.ByteBuddyInterceptor
170616解决 java.lang.IllegalArgumentException: No converter found for return value of type: class jav(