[postgis-users] JDBC driver compile error
Mike Dvorak
dvorak at stanford.edu
Wed Jan 10 08:11:05 PST 2007
Dear all,
Upon compilation of the JDBC driver, I'm getting a 4 small, but annoying
compilation errors. Does anybody know what I'm missing? I'm using the
postgresql jdbc driver "postgresql-8.2-504.jdbc3.jar" to compile against
along with the Java SDK 1.5. It seems that javac can't find
"Driver.debug" and "Driver.info".
Thanks for any help.
Cheers,
-Mike
dvorak at vegetarian:/data/src/postgis-1.2.0/java/jdbc$ make jar
cp ../../Version.config bin/org/postgis/version.properties
javac -target 1.2 -source 1.2 -classpath
"stubbin/:postgresql-8.2-504.jdbc3.jar:src" -d bin
src/org/postgis/*.java src/org/postgis/*/*.java src/examples/*.java
src/org/postgis/DriverWrapper.java:93: cannot find symbol
symbol : method debug(java.lang.String)
location: class org.postgresql.Driver
Driver.debug(this.getClass().getName() + " loaded TypesAdder: "
^
src/org/postgis/DriverWrapper.java:133: cannot find symbol
symbol : method info(java.lang.String,java.sql.SQLException)
location: class org.postgresql.Driver
Driver.info("Error registering PostGIS Wrapper Driver", e);
^
src/org/postgis/DriverWrapperAutoprobe.java:70: cannot find symbol
symbol : method info(java.lang.String,java.sql.SQLException)
location: class org.postgresql.Driver
Driver.info("Error registering PostGIS LW Wrapper Driver", e);
^
src/org/postgis/DriverWrapperLW.java:65: cannot find symbol
symbol : method info(java.lang.String,java.sql.SQLException)
location: class org.postgresql.Driver
Driver.info("Error registering PostGIS LW Wrapper Driver", e);
^
4 errors
make: *** [compile] Error 1
--
==========================================
Mike Dvorak
Atmosphere/Energy PhD Student
Dept. of Civil & Environmental Engineering
Stanford University
Phone: (773) 936-8053
==========================================
More information about the postgis-users
mailing list