MR-Scout / MR-Scout.github.io

1 stars 0 forks source link

Unable to run case #1

Open Judgh opened 3 months ago

Judgh commented 3 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 2 months ago

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

Judgh commented 2 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 1 month 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?