[code="java"]//出错信息
Buildfile: D:\workspace\spp_db_connection\build.xml
compile:
[delete] Deleting directory D:\workspace\spp_db_connection\build
[mkdir] Created dir: D:\workspace\spp_db_connection\build
[copy] Copying 1 file to D:\workspace\spp_db_connection\build
[javac] Compiling 4 source files to D:\workspace\spp_db_connection\build
[javac] D:\workspace\spp_db_connection\src\net\hkbn\prov\sql\SqlConnection.java:26: cannot access java.lang.Object
[javac] bad class file: C:\Program Files\Java\jre1.6.0_07\lib\rt.jar(java/lang/Object.class)
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] Connection getConnection();
[javac] ^
[javac] 1 error
BUILD FAILED
D:\workspace\spp_db_connection\build.xml:64: Compile failed; see the compiler error output for details.
[/code]