用idea+maven編譯打包spark project core錯誤:java.lang.RuntimeException: Unable to load a Suite class

來源:互聯網
上載者:User

標籤:abs   $$   highlight   classes   rac   with   art   list   size   

Discovery starting.*** RUN ABORTED ***  java.lang.RuntimeException: Unable to load a Suite class that was discovered in the 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 are test failures -> [Help 1][ERROR] [ERROR] To 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 about the errors and possible solutions, please read the following articles:[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExceptionJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0

  未解決。

用idea+maven編譯打包spark project core錯誤:java.lang.RuntimeException: Unable to load a Suite class

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.