Hello,
I work on a web archiving project.
The archived files have a specific format called ARC.
for now I need to extract links from an ARC file. For that I found on the Internet a code that make what I want
But the problem is that I want to make some changes in this code which is in a package called: org.archive.modules.extractor
So I compiled the source : ExtractorARC.java
as follows:
|
Quote:
|
|
javac -cp crawler.jar ExtractorARC.java
|
and I put the generated ExtractorARC.class in the crawler.jar file after extracted it in this path: org.archive.modules.extractor
but now when I run my class like this:
|
Quote:
|
|
ava -cp crawler.jar org.archive.modules.extractor.ExtractorARC 1.arc.gz
|
I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/archive/modules/extractor/ExtractorARC
I do not see where is the problem.
What i must do please, do you have an idea.
Regards