Unable to build com.ibm.team.repository.service plugin from provided source
I am extending a class in com.ibm.team.repository.service, which imports and gives me the source as usual..
however, now that I have found all the source., the build fails..
there are two error classes (550+ errors in all)
1
1498. ERROR in C:\Users\sam\workspacevx - Repository manager etc\com.ibm.team.repository.service\repository_servicesrc\com\ibm\team\repository\service\internal\dataaccess\JDBC3QueryByBlocks.java (at line 60)
class JDBC3QueryByBlocks implements ResultSet, IDataAccessConstants {
^^^^^^^^^^^^^^^^^^
The type JDBC3QueryByBlocks must implement the inherited abstract method ResultSet.getHoldability()
2.
1903. ERROR in C:\Users\sam\workspacevx - Repository manager etc\com.ibm.team.repository.service\repository_servicesrc\com\ibm\team\repository\service\internal\db\jdbcwrappers\errlog\CallableStatementErrLogWrapper.java (at line 31)
public class CallableStatementErrLogWrapper extends
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type CallableStatementErrLogWrapper must implement the inherited abstract method CallableStatement.getCharacterStream(String)
the plugin jar is still built.. but some classes are not produced is seems (.class file not present)
java.lang.NoClassDefFoundError: com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner (initialization failure)
however, now that I have found all the source., the build fails..
there are two error classes (550+ errors in all)
1
1498. ERROR in C:\Users\sam\workspacevx - Repository manager etc\com.ibm.team.repository.service\repository_servicesrc\com\ibm\team\repository\service\internal\dataaccess\JDBC3QueryByBlocks.java (at line 60)
class JDBC3QueryByBlocks implements ResultSet, IDataAccessConstants {
^^^^^^^^^^^^^^^^^^
The type JDBC3QueryByBlocks must implement the inherited abstract method ResultSet.getHoldability()
2.
1903. ERROR in C:\Users\sam\workspacevx - Repository manager etc\com.ibm.team.repository.service\repository_servicesrc\com\ibm\team\repository\service\internal\db\jdbcwrappers\errlog\CallableStatementErrLogWrapper.java (at line 31)
public class CallableStatementErrLogWrapper extends
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The type CallableStatementErrLogWrapper must implement the inherited abstract method CallableStatement.getCharacterStream(String)
the plugin jar is still built.. but some classes are not produced is seems (.class file not present)
java.lang.NoClassDefFoundError: com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner (initialization failure)
Accepted answer
Which JDK are you compiling against? For 3.0.1.x, it should be JDK 1.5. It's likely the referenced abstract methods are new in 1.6.
2 other answers
Ok, found that the project config doesn't matter, its in the plugin.xml 'runtime'..
now code compiles properly, but the runtime still fails. like some config is missing
now code compiles properly, but the runtime still fails. like some config is missing
Comments
Hi,
I am having a similar problem, I've downloaded RTC 4, for some reasons I am unable to get the following imports.
com.ibm.team.process.service
com.ibm.team.workitem.service
com.ibm.team.repository.service
any suggestions?