2 cycsxf cycsxf 于 2014.07.23 11:38 提问

用ant编译spring源码出现了下面的错误,求解

E\projects\org.springframework.jdbc\target\classes
[s:javac] ----------
[s:javac] 1. ERROR in F:\frame\spring-framework-3.0.5.RELEASE\projects\org.spr
ingframework.jdbc\src\main\java\org\springframework\jdbc\datasource\DelegatingDa
taSource.java (at line 39)
[s:javac] public class DelegatingDataSource implements DataSource, Initial
izingBean {
[s:javac] ^^^^^^^^^^^^^^^^^^^^
[s:javac] The type DelegatingDataSource must implement the inherited abstract
method CommonDataSource.getParentLogger()
[s:javac] ----------
[s:javac] ----------
[s:javac] 2. ERROR in F:\frame\spring-framework-3.0.5.RELEASE\projects\org.spr
ingframework.jdbc\src\main\java\org\springframework\jdbc\datasource\DriverManage
rDataSource.java (at line 66)
[s:javac] public class DriverManagerDataSource extends AbstractDriverBased
DataSource {
[s:javac] ^^^^^^^^^^^^^^^^^^^^^^^
[s:javac] The type DriverManagerDataSource must implement the inherited abstra
ct method CommonDataSource.getParentLogger()
[s:javac] ----------
[s:javac] ----------
[s:javac] 3. ERROR in F:\frame\spring-framework-3.0.5.RELEASE\projects\org.spr
ingframework.jdbc\src\main\java\org\springframework\jdbc\datasource\SimpleDriver
DataSource.java (at line 53)
[s:javac] public class SimpleDriverDataSource extends AbstractDriverBasedD
ataSource {
[s:javac] ^^^^^^^^^^^^^^^^^^^^^^
[s:javac] The type SimpleDriverDataSource must implement the inherited abstrac
t method CommonDataSource.getParentLogger()
[s:javac] ----------
[s:javac] ----------
[s:javac] 4. ERROR in F:\frame\spring-framework-3.0.5.RELEASE\projects\org.spr
ingframework.jdbc\src\main\java\org\springframework\jdbc\datasource\embedded\Emb
eddedDatabaseFactory.java (at line 190)
[s:javac] private class EmbeddedDataSourceProxy implements EmbeddedDatabas
e {
[s:javac] ^^^^^^^^^^^^^^^^^^^^^^^
[s:javac] The type EmbeddedDatabaseFactory.EmbeddedDataSourceProxy must implem
ent the inherited abstract method CommonDataSource.getParentLogger()
[s:javac] ----------
[s:javac] ----------
[s:javac] 5. ERROR in F:\frame\spring-framework-3.0.5.RELEASE\projects\org.spr
ingframework.jdbc\src\main\java\org\springframework\jdbc\datasource\lookup\Isola
tionLevelDataSourceRouter.java (at line 92)
[s:javac] public class IsolationLevelDataSourceRouter extends AbstractRout
ingDataSource {
[s:javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[s:javac] The type IsolationLevelDataSourceRouter must implement the inherited
abstract method CommonDataSource.getParentLogger()
[s:javac] ----------
[s:javac] 5 problems (5 errors)
[subant] Leaving directory: F:\frame\spring-framework-3.0.5.RELEASE\projects\
org.springframework.jdbc

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!