Discovery starting.*** RUN Aborted * * * java.lang.RuntimeException:Unable to load a Suite class that is discovered in th e Runpath:org.apache.spark.util.MutableURLClassLoaderSuite at org.scalatest.tools.discoverysuite$. Getsuiteinstance (discoverysuite.scala:84) at org.scalatest.tools.discoverysuite$ $anonfun $1.apply ( discoverysuite.scala:38) at org.scalatest.tools.discoverysuite$ $anonfun $1.apply (discoverysuite.scala:37) at scala.collection.traversablelike$ $anonfun $map$1.apply (traversablelike.scala:234) at scala.collection.traversablelike$ $anonfun $map$1.apply (traversablelike.scala:234) at scala.collection.iterator$ Class.foreach (iterator.scala:893) at Scala.collection.AbstractIterator.foreach (iterator.scala:1336) at Scala.collection.iterablelike$class.foreach (iterablelike.scala:72) at Scala.collection.AbstractIterable.foreach ( iterable.scala:54) at Scala.collection.traversablelike$class.map (traversablelike.scala:234) ... Cause:java.lang.NullPointerException:at Org.apache.spaRk. Testutils$.createcompiledclass (testutils.scala:142) at Org.apache.spark.testutils$.createcompiledclass ( testutils.scala:168) at org.apache.spark.testutils$ $anonfun $2.apply (testutils.scala:65) at org.apache.spark.testutils$ $anonfun $2.apply (testutils.scala:64) at scala.collection.traversablelike$ $anonfun $map $1.apply (traversablelike.scala:234) at scala.collection.traversablelike$ $anonfun $map$1.apply ( traversablelike.scala:234) at Scala.collection.immutable.List.foreach (list.scala:381) at Scala.collection.traversablelike$class.map (traversablelike.scala:234) at Scala.collection.immutable.List.map ( list.scala:285) at org.apache.spark.testutils$.createjarwithclasses (testutils.scala:64) ... [INFO]------------------------------------------------------------------------[INFO] BUILD Failure[info]-------- ----------------------------------------------------------------[INFO] Total time:02:00 min[info] finished at: 2018-05-08t17:34:42+08:00[info] Final Memory:78m/825m[info]------------------------------------------------------------------------[ERROR] Failed to execute goal org.scalatest: Scalatest-maven-plugin:1.0:test (test) on project Spark-core_2.11:there is test failures-[help 1][error] [ERROR] T o See the full stack trace of the errors, re-run Maven with THE-E switch. [ERROR] Re-run Maven using The-x switch to enable full debug logging. [ERROR] [ERROR] For more information on the errors and possible solutions, please read the following articles:[error] [Help 1] http://c Wiki.apache.org/confluence/display/maven/mojofailureexceptionjava HotSpot (TM) 64-bit Server VM warning:ignoring Option maxpermsize=512m; Support is removed in 8.0
Not resolved.
Package Spark Project Core error with Idea+maven compilation: Java.lang.RuntimeException:Unable to load a Suite class