[jgrapht-users] Help needed
Brought to you by:
barak_naveh,
perfecthash
From: Pratik T. <tib...@gm...> - 2018-02-16 00:48:31
|
Hello, I was trying to run the HellopGraphT code present in the Wiki - link <https://github.com/jgrapht/jgrapht/wiki/HelloWorld> . There was one typo which I have rectified in the wiki. At present the code is getting build and targets are generated fine. But while running the class file I am getting the following error: Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.NoClassDefFoundError: org/jgrapht/UndirectedGraph 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.jgrapht.UndirectedGraph 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 If someone can help me then it will be great. Thanks in advance. Pratik Tibrewal Second Year Undergraduate Student Department of Electronics and Electrical Communications Engineering Indian Institute of Technology Kharagpur |