Package Spark Project Core error with Idea+maven compilation: Java.lang.RuntimeException:Unable to load a Suite class

Source: Internet
Author: User
Tags stack trace

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.