I cloned todays current git repository, but the build stops somewhere because of a failed unit test. The build results in a jar file in the dist/ directory, but that doesn't run either.
Here is the last bit of output from running "ant all":
checkstyle: [cs:checkstyle] Running Checkstyle 5.4 on 75 files
build_test:
test:
[junit] Running org.openstreetmap.osmosis.apidb.v0_6.ApiDbTest
[junit] Tests run: 5, Failures: 0, Errors: 5, Time elapsed: 0.765 sec
[junit] Test org.openstreetmap.osmosis.apidb.v0_6.ApiDbTest FAILED
[junit] Running org.openstreetmap.osmosis.apidb.v0_6.ApidbFileReplicatorTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.054 sec
[junit] Test org.openstreetmap.osmosis.apidb.v0_6.ApidbFileReplicatorTest FAILED
[junit] Running org.openstreetmap.osmosis.apidb.v0_6.impl.ChangesetManagerTest
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0.075 sec
[junit] Test org.openstreetmap.osmosis.apidb.v0_6.impl.ChangesetManagerTest FAILED
[junit] Running org.openstreetmap.osmosis.apidb.v0_6.impl.ReplicationSequenceFormatterTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.028 sec
[junit] Running org.openstreetmap.osmosis.apidb.v0_6.impl.ReplicatorTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.068 sec
[junit] Running org.openstreetmap.osmosis.apidb.v0_6.impl.TransactionSnapshotTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.003 sec
BUILD FAILED /home/mok/osm/sources/osmosis/build.xml:30: The following error occurred while executing this line: /home/mok/osm/sources/osmosis/build-support/script/build-java.xml:128: O
ne or more junit tests failed.
Here is the output when I try to run the osomosis application:
$ osmosis -h
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher
Caused by: java.lang.ClassNotFoundException: org.codehaus.classworlds.Launcher
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: org.codehaus.classworlds.Launcher. Program will exit.
I guess the question is: what's wrong?
asked
09 Feb '12, 11:01
mok0
11●1●1●2
accept rate:
0%