码迷,mamicode.com
首页 > 其他好文 > 详细

Error: A JNI error has occurred, please check your installation and try again

时间:2020-02-18 15:05:25      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:process   roc   nbsp   declare   ror   java   misc   use   get   

ss  

java.lang.NoClassDefFoundError: org/apache/spark/api/java/function/Function2
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
    at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
    at java.lang.Class.getMethod0(Class.java:3018)
    at java.lang.Class.getMethod(Class.java:1784)
    at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
    at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.apache.spark.api.java.function.Function2
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 7 more
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" 
Process finished with exit code 1

 

  

Error: A JNI error has occurred, please check your installation and try again

标签:process   roc   nbsp   declare   ror   java   misc   use   get   

原文地址:https://www.cnblogs.com/Jomini/p/12326081.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!