It's all about the answers!

Ask a question

Spring Tool Suite 4.3.1 & RTC-Client-p2Repo

Brian Kates (111) | asked Aug 01 '19, 12:42 p.m.

 I'm getting an exception in STS when I try to create a repository connection and I'm getting the following exception:

java.lang.NoClassDefFoundError: org/apache/http/impl/client/WinHttpClients

Is there anything I can do to fix my current install?  If not, which versions of Eclipse / STS are compatible with the RTC plugin?

One answer

permanent link
Don Yang (7.7k21108137) | answered Aug 05 '19, 8:12 p.m.
I am not familiar with STS. You may consider to have Eclipse with the Spring IDE plugin and then RTC-Client-p2Repo to the same Eclipse. For v6.0.6.1, the supported Eclipse run time can be found from system requirement:

(prerequisite > Eclipse run time environment)

Brian Kates commented Aug 06 '19, 11:46 a.m.

As an update, we cannot get the RCT client to run on a 2019-06 version of Eclipse (or a version of STS that bundles the 2019-06 version of Eclipse).  We can however get the 6.0.6 client to work with Eclipse Photon.  I have not yet tried on Eclipse Photon.  

The error message when trying to Connect to a Repository location (in our error log) is:

Unhandled event loop exception
java.lang.NoClassDefFoundError: org/apache/http/impl/client/WinHttpClients

We are using the Java 8 JDK that comes with WebSphere 9.  Though, we did try an Oracle Java 8 JDK too, with no success.

Brian Kates commented Aug 06 '19, 12:17 p.m.

Interestingly, an older version of the RTC Client, 6.0.1 works with STS 4.3.1 (which is based on Eclipse 2019-06).  

Your answer

Register or to post your answer.