线程“main”java.lang.noclassdeffounderror中出现异常:org/ejml/simple/simplebase

cgh8pdjw  于 2021-07-03  发布在  Java
关注(0)|答案(0)|浏览(233)

它似乎缺少java库高效java矩阵库(ejml),所以我从这里的源代码下载了它。我正在创建maven jar可执行文件并在openstack edp spark环境中运行。
我想不出怎么解决这个问题 java.lang.NoClassDefFoundError: org/ejml/simple/SimpleBase 我还尝试了ejml版本0.23、0.25、0.27、0.30、0.31。

Exception in thread "main" java.lang.NoClassDefFoundError: org/ejml/simple/SimpleBase
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:195)
    at org.openstack.sahara.edp.SparkWrapper.main(SparkWrapper.java:17)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:606)
    at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:731)
    at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
    at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
    at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:121)
    at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.ClassNotFoundException: org.ejml.simple.SimpleBase
    at java.net.URLClassLoader$1.run(URLClassLoader.java:359)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:358)

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题