JNI error on Mac OS

26 views
Skip to first unread message

David Hanks

unread,
Jul 27, 2017, 11:53:06 AM7/27/17
to deepdive-users
I've been successful in getting my own app to work on Ubuntu but trying to run the same exact app on my Mac I get lots of NoClassDefFoundError java exceptions related to the scala library like the one below:

2017-07-27 08:46:03.489899 Exception in thread "main" java.lang.NoClassDefFoundError: scala/io/BufferedSource
2017-07-27 08:46:03.490046 at java.lang.Class.getDeclaredMethods0(Native Method)
2017-07-27 08:46:03.490128 at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
2017-07-27 08:46:03.490171 at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
2017-07-27 08:46:03.490201 at java.lang.Class.getMethod0(Class.java:3018)
2017-07-27 08:46:03.490228 at java.lang.Class.getMethod(Class.java:1784)
2017-07-27 08:46:03.490255 at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
2017-07-27 08:46:03.490280 at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
2017-07-27 08:46:03.490403 Caused by: java.lang.ClassNotFoundException: scala.io.BufferedSource
2017-07-27 08:46:03.490440 at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
2017-07-27 08:46:03.490566 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
2017-07-27 08:46:03.490610 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
2017-07-27 08:46:03.490636 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Any idea?
Reply all
Reply to author
Forward
0 new messages