Bug 263

Summary: NoClassDefFoundError occurs in "shortest path" command after importing algorithm.jar provided by programmer
Product: Group 21 Graph Analyzer Reporter: Tsz Ho Yum <thyum2-c>
Component: algorithm.jarAssignee: Liu Ka Wai <kawliu2-c>
Status: IN_PROGRESS ---    
Severity: critical CC: kawliu2-c
Priority: High    
Version: 1.0   
Hardware: PC   
OS: Windows   
Deadline: 2018-12-01   
Attachments: Screenshot of program error

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.