cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Eclipse connection issue

former_member637479
Discoverer
8,003

java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException while connecting to SAP HANA Administration console

Accepted Solutions (0)

Answers (3)

Answers (3)

connectSidd
Explorer

Extending the solution by Lars for Windows users, you need to do similar changes in eclipse.ini file in Eclipse package content in case you have multiple java versions.

1) Goto the directory where your Eclipse.exe file is located. You will find eclipse.ini file here. Usually it would be

C:\Users\<userName>\eclipse\java-<version>\eclipse folder
2) Open eclipse.ini with notepad and try to locate string -vm
3) In my case the path specified after -vm was still pointing towards newer JDK 11 version.
-vm
C:\Program Files (x86)\java\jdk-11.0.7\bin

I changed the path to point it to JDK 8 so it looks like this

-vm
C:\Program Files\Java\jdk1.8.0_251\bin

4) Once done, save and close the file. Restart eclipse and you would be able to login now.

Former Member

Hello Lars,

Many thanks.

I uninstalled the OpenJDK and installed the latest Java 8 and it works.

Let's hope that in future it will work with the OpenJDK as well.

KR

Markus

maalberto
Explorer
0 Likes

Still got the same error, using JDK 14 + Eclipse 2019-12, trying to add system at HANA Modeler...

lbreddemann
Active Contributor
0 Likes

The key point here is that you need to use JDK 1.8 - newer JDKs don't work.

It's all explained in my already mentioned blog post https://lbreddemann.org/ntm-hana-studio-noclassdeffounderror-javax-xml-soap-soapexception/