Java API throws exception while login
ClassPath has entry :
<classpathentry kind="lib" path="W:/Effort Tracking Tool/RTC-Client-plainJavaLib-6.0.6.1/httpclient-cache-4.5.jar"/>
<classpathentry kind="lib" path="W:/Effort Tracking Tool/RTC-Client-plainJavaLib-6.0.6.1/httpclient-win-4.5.jar"/>
<classpathentry kind="lib" path="W:/Effort Tracking Tool/RTC-Client-plainJavaLib-6.0.6.1/httpcore-4.4.1.jar"/>
<classpathentry kind="lib" path="W:/Effort Tracking Tool/RTC-Client-plainJavaLib-6.0.6.1/httpcore-ab-4.4.1.jar"/>
<classpathentry kind="lib" path="W:/Effort Tracking Tool/RTC-Client-plainJavaLib-6.0.6.1/httpcore-nio-4.4.1.jar"/>
<classpathentry kind="lib" path="W:/Effort Tracking Tool/RTC-Client-plainJavaLib-6.0.6.1/httpmime-4.5.jar"/>
Here is the exception :
Exception in thread "main" com.ibm.team.repository.common.transport.ServiceMethodInvocationError: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Header
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)
at com.sun.proxy.$Proxy2.describe(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:254)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:110)
at com.sun.proxy.$Proxy2.describe(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1592)
at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1355)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1350)
at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1585)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:674)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:647)
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Apr 08 '21, 7:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Apr 08 '21, 8:26 a.m. Maybe you can provide more information?
Java version ? How is the project set up? Maven? Eclipse? How does the source code look like?
Comments
Ralph Schoon
commented Apr 08 '21, 7:29 a.m.
| edited Apr 08 '21, 7:29 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Especially, where does that odd looking classpath come from? |
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.