MR-Scout / MR-Scout.github.io

2 stars 0 forks source link

Unable to run case #1

Open Judgh opened 5 months ago

Judgh commented 5 months ago

Following the README.md example in the tool for experimentation, it was found that it could not run, with an error message indicating that the main class com.mr. extractor could not be found or loaded Main. May I ask how to solve this problem?

MR-Scout commented 5 months ago

hi~ could you give me more details about such error? I may try to fix it. Thanks!

Judgh commented 5 months ago

When I run to: “java -cp MR-Scout.jar com.mr.extractor.Main daprsplitjava-sdk ./”, it keeps prompting me with "Error: Unable to find or load main class“ com. mr.extractor.Main". Then I open MR Scout. jar and it shows "No main manifest attribute in MR Scout. jar". Can you teach me how to solve this problem?Thanks!

MR-Scout commented 3 months ago

You may try: (1) You need to put "MR-Scout.jar" under the root folder of project "daprsplitjava-sdk", then you run “java -cp MR-Scout.jar com.mr.extractor.Main daprsplitjava-sdk ./”. Otherwise, java cannot find the path of "MR-Scout.jar".

OR

(2) you run “java -cp {PathOfMR-Scout.jar} com.mr.extractor.Main daprsplitjava-sdk ./” and replace "{PathOfMR-Scout.jar}" with the correct path of MR-Scout.jar in your machine.

could they help?