on 10-21-2019 8:52 PM
java.lang.NoClassDefFoundError: javax/xml/soap/SOAPException while connecting to SAP HANA Administration console
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-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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still got the same error, using JDK 14 + Eclipse 2019-12, trying to add system at HANA Modeler...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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/
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.