Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

[closed] Team Repository is throwing exception while connecting through the RTC Plain Java API.

 Hi Team,


We have a Plain Java API to connect to the RTC Team Repository.:

      TeamPlatform.startup();
      teamRepository = TeamPlatform.getTeamRepositoryService().getTeamRepository(repositoryURI);
      teamRepository.registerLoginHandler(new RTCLoginHandler(userId,password));
      teamRepository.login(null);

This is throwing exception:
Initializing of RTC failed -com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.NoSuchMethodError: 'void org.apache.http.impl.cookie.BasicClientCookie.setCreationDate(java.util.Date)'
at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:738)
at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:572)
at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:202)
at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43)


Please assist us on how to connect using the Team Repository.

Thanks in advance.

0 votes


The question has been closed for the following reason: "Duplicate Question" by davidhoney May 31 '23, 8:39 a.m.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938
× 7,497
× 1,327

Question asked: May 31 '23, 7:03 a.m.

Question was seen: 416 times

Last updated: May 31 '23, 8:39 a.m.

Related questions
Confirmation Cancel Confirm