Skip to content

The build instructions don't work out of the box #52

Description

@danecjensen

I can't get anything to build.

I've run

$ ant clean jar

in both the root and examples directories

In the root directory I get this error:

test-it:
[mkdir] Created dir: /Users/dane/Development/recommender/bixo/build/it
[junit] Running bixo.fetcher.FetcherTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 122.751 sec
[junit] Running bixo.fetcher.http.SimpleHttpFetcherIntegrationTest
[junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.724 sec
[junit] Test bixo.fetcher.http.SimpleHttpFetcherIntegrationTest FAILED

BUILD FAILED
/Users/dane/Development/recommender/bixo/build.xml:256: Tests failed!

In the examples directory I get this error:

BUILD FAILED
/Users/dane/Development/recommender/bixo/examples/build.xml:49: Unable to resolve artifact: Missing:

  1. bixo:bixo-core:jar:1.0-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=bixo -DartifactId=bixo-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=bixo -DartifactId=bixo-core -Dversion=1.0-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency:
1) bixo:bixo-examples:jar:1.0-SNAPSHOT
2) bixo:bixo-core:jar:1.0-SNAPSHOT


1 required artifact is missing.

for artifact:
bixo:bixo-examples:jar:1.0-SNAPSHOT

from the specified remote repositories:
Bixo (http://bixo.github.com/repo/),
Conjars (http://conjars.org/repo),
central (http://repo1.maven.org/maven2)

Total time: 2 seconds

When I run

$bin/bixodemo crawl -agentname dane -domain www.sotmclub.com -outputdir output -numloops 3

in the example directory

I get this error

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/conf/Configuration
Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.conf.Configuration
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

or this error

Exception in thread "main" java.lang.NoClassDefFoundError: bixo/examples/crawl/DemoCrawlTool
Caused by: java.lang.ClassNotFoundException: bixo.examples.crawl.DemoCrawlTool
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions