[OSM-dev] Error compiling osmosis

Joerg Ostertag (OSM Tettnang/Germany) openstreetmap at ostertag.name
Wed Dec 24 11:21:23 GMT 2008


Can someone give me a hint what to do about these errors


tweety at moby:~/svn.openstreetmap.org/applications/utils/osmosis/trunk$ ant dist
Buildfile: build.xml

init:

build_src:
    [mkdir] Created dir: /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/build
    [mkdir] Created dir: /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/build/src
    [javac] Compiling 690 source files to /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/build/src
    [javac] /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/src/com/bretth/osmosis/core/pipeline/common/PipeTasks.java:4: 
cannot find symbol
    [javac] symbol  : class ArrayDeque
    [javac] location: package java.util
    [javac] import java.util.ArrayDeque;
    [javac]                  ^
    [javac] /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/src/com/bretth/osmosis/core/pipeline/common/PipeTasks.java:5: 
cannot find symbol
    [javac] symbol  : class Deque
    [javac] location: package java.util
    [javac] import java.util.Deque;
    [javac]                  ^
    [javac] /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/src/com/bretth/osmosis/core/pipeline/common/PipeTasks.java:26: 
cannot find symbol
    [javac] symbol  : class Deque
    [javac] location: class com.bretth.osmosis.core.pipeline.common.PipeTasks
    [javac]     private Deque<Task> defaultTasks;
    [javac]                 ^
    
[javac] /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/src/com/bretth/osmosis/core/filter/common/PolygonFileReader.java:5: 
cannot find symbol
    [javac] symbol  : class Path2D
    [javac] location: package java.awt.geom
    [javac] import java.awt.geom.Path2D;
    [javac]                      ^
    
[javac] /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/src/com/bretth/osmosis/core/pgsql/common/CopyFileWriter.java:18: 
cannot access org.postgres
ql.geometric.PGpoint
    [javac] bad class 
file: /home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/lib/postgresql-8.3-603.jdbc4.jar(org/postgresql/geometric/PGpoint.class)
    [javac] class file has wrong version 50.0, should be 49.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import org.postgresql.geometric.PGpoint;
    [javac]                                 ^
    [javac] 5 errors

BUILD FAILED
/home/tweety/svn.openstreetmap.org/applications/utils/osmosis/trunk/build.xml:33: Compile failed; see the compiler error output for details.

Total time: 7 seconds
tweety at moby:~/svn.openstreetmap.org/applications/utils/osmosis/trunk$ svn up
At revision 12518.
tweety at moby:~/svn.openstreetmap.org/applications/utils/osmosis/trunk$ 

-- 
Jörg (Germany, Tettnang)

http://www.ostertag.name/




More information about the dev mailing list