facing error while login to team repository
![]()
code to login ::
TeamPlatform.startup();
teamRepository =
TeamPlatform.getTeamRepositoryService().getTeamRepository(s);
teamRepository.registerLoginHandler(new LoginUtil.LoginHandler(user, password));
teamRepository.login(null);
Blocked with below error while login
Exception in thread "main" com.ibm.team.repository.common.TeamRepositoryExceptio
n: CRJAZ0056I There is a version mismatch for the "com.ibm.team.repository" serv
ice. The server version is "35" while the client version is "32".
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.validat
eServiceCall(ServiceInterfaceProxy.java:223)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(
ServiceInterfaceProxy.java:87)
at com.sun.proxy.$Proxy0.describe(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepo
sitory.java:1513)
at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepo
sitory.java:1)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepo
sitory.java:1287)
at com.ibm.team.repository.common.transport.CancelableCaller.call(Cancel
ableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelable
Service(TeamRepository.java:1280)
at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(
TeamRepository.java:1506)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepo
sitory.java:641)
|
Accepted answer
![]()
Ralph Schoon (63.3k●3●36●46)
| answered Jun 23 '17, 4:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 23 '17, 6:29 a.m. The error is easy enough to understand by just reading it. You are using an outdated Plain Java Client Library version against a server that is running a more recent and incompatible version. See https://rsjazz.wordpress.com/2013/07/09/new-version-and-now-experiences-with-sdk-and-plain-java-api-across-tool-versions/ arun sudarsanam selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.