Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,

    you can change your scala version to 2.11.11

Solutions on the web

java.lang.ClassNotFoundException: scala.collection.Iterable	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)	at org.apache.hadoop.hive.ql.optimizer.spark.SetSparkReducerParallelism.process(SetSparkReducerParallelism.java:117)	at org.apache.hadoop.hive.ql.lib.DefaultRuleDispatcher.dispatch(DefaultRuleDispatcher.java:90)	at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatchAndReturn(DefaultGraphWalker.java:105)	at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.dispatch(DefaultGraphWalker.java:89)	at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.walk(DefaultGraphWalker.java:158)	at org.apache.hadoop.hive.ql.lib.DefaultGraphWalker.startWalking(DefaultGraphWalker.java:120)	at org.apache.hadoop.hive.ql.parse.spark.SparkCompiler.runJoinOptimizations(SparkCompiler.java:178)	at org.apache.hadoop.hive.ql.parse.spark.SparkCompiler.optimizeOperatorPlan(SparkCompiler.java:116)	at org.apache.hadoop.hive.ql.parse.TaskCompiler.compile(TaskCompiler.java:134)	at org.apache.hadoop.hive.ql.parse.SemanticAnalyzer.analyzeInternal(SemanticAnalyzer.java:10857)	at org.apache.hadoop.hive.ql.parse.CalcitePlanner.analyzeInternal(CalcitePlanner.java:239)	at org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer.analyze(BaseSemanticAnalyzer.java:250)	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:437)	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:329)	at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1158)	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1253)	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1084)	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1072)	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:232)	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:399)	at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:776)	at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:714)	at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.apache.hadoop.util.RunJar.run(RunJar.java:221)	at org.apache.hadoop.util.RunJar.main(RunJar.java:136)