RTC Client Debug problem with WinHttpClients
Hi Everyone,
I am upgrading our version of Eclipse to 2020-06. When I install the base Eclipse IDE for Enterprise Java Developers and then install the RTC Client 6.0.4 Eclipse Plugins from the P2 repository, I encounter the below error when trying to start an Eclipse Application debug session.
org.apache.httpcomponent.httpclient
-- Missing Constratint: Import-Package: org.apache.commons.codec.binary; version="[1.13.0,1.14.0)" (Yes the square bracket and the closing parenthacy are accurate for the message from eclipse)
When I start the same debug without the RTC client, I get no warnings at all.
I can click "continue" and ignore this message and the child Eclipse application will start. When I do that, and attempt to create a new repository connection, I get the same error as listed in the thread below:
"Unhandled event loop exception: java.lang.NoClassDefFoundError: org/apache/http/impl/client/WinHttpClients"
Here is the environment I am running in:
OpenJDK 1.8-262
Eclipse 2020-06
Eclipse 2020-06
RTC Client 6.0.4 (loaded using P2 repo)
Windows 10 20H2
Any suggestions for ways to resolve this so I can upgrade would be apprecitated.
Thanks,
Bill
One answer
I think I remember to have seen someting similar in a different context. Try using the Vanilla RTC shipped without the P2 install, or create a case with support.
Comments
Hi Ralph.
Can the Vanilla RTC be accessed from within Eclipse or is that the command line version?
On the all downloads page is a complete install of an Eclipse client with RTC installed, as ZIP file. Install that one. It has all you want. It is called Client for Eclipse 4.2.x IDE download https://jazz.net/downloads/rational-team-concert/releases/6.0.4/RTC-Client-Win64-6.0.4.zip
If you have problems there -> support.
In the past there have been RTC clients missng some features of the PDE, but that is not the case any more. Just try the complete RTC Client zip that does not need the P2 install. If that does not work, ask support.
Thanks :). Appreciate the time as always!
Comments
William Hunsicker
Mar 23 '21, 1:45 p.m.More information on the error stacktrace from the child Eclipse debug session:
William Hunsicker
Mar 23 '21, 2:06 p.m.Steps to reproduce:
William Hunsicker
Mar 23 '21, 2:08 p.m.Unable to enact this solution as they cannot be installed at the same time
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=416596