Bug 263 - NoClassDefFoundError occurs in "shortest path" command after importing algorithm.jar provided by programmer
Summary: NoClassDefFoundError occurs in "shortest path" command after importing algori...
Status: IN_PROGRESS
Alias: None
Product: Group 21 Graph Analyzer
Classification: Unclassified
Component: algorithm.jar (show other bugs)
Version: 1.0
Hardware: PC Windows
: High critical
Deadline: 2018-12-01
Assignee: Liu Ka Wai
URL:
Depends on:
Blocks:
 
Reported: 2018-11-29 11:48 HKT by Tsz Ho Yum
Modified: 2018-11-29 11:48 HKT (History)
1 user (show)

See Also:


Attachments
Screenshot of program error (25.55 KB, image/png)
2018-11-29 11:48 HKT, Tsz Ho Yum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tsz Ho Yum 2018-11-29 11:48:11 HKT
Created attachment 22 [details]
Screenshot of program error

After I updated the algorithm.jar provided by programmers, an error message (java.lang.NoClassDefFoundError) popped up when I use "Find Shortest Path" command. The screenshot of error message is attached.


Procedure to reproduce the error:
1. Open Eclipse, open GraphAnalyzer project
2. Right click the GraphAnalyzer project in "Package Explorer", choose Properties
3. Select "Java Build Path" in the tree, choose "Libraries" tab"
4. Click "Add External JARs..." and browse the "algorithm.jar" file
5. Click "Apply and Close"
6. Run the program
7. Type "C|f|C:\testing\graph3.txt" to insert graph
8. Type "SP|d|3|1|4" to use the shortest path command
9. After entered the command, the java.lang.NoClassDefFoundError is occurred.