Error "Error:net/jpountz/lz4/LZ4Factory" when compiling

Answered

I have no idea about what is a "LZ4Factory", I have never used it before.

0
2 comments

If you are on Mac, delete any jars from /Library/Java/Extensions directory.

If it's not the case, share the complete idea.log and build.log files: https://intellij-support.jetbrains.com/hc/articles/206544839.

0
Avatar
Permanently deleted user

If you are using Scala and Spark-Kafka libraries, you can exclude like this in your SBT file:

 

"org.apache.spark" % "spark-sql-kafka-0-10_2.11" % "2.3.2" exclude("net.jpountz.lz4", "lz4"),
0

Please sign in to leave a comment.