Skip to Content

Eclipse connection issue

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jun 06, 2020 at 11:03 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 10, 2020 at 12:18 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 16, 2020 at 08:22 PM
    -1

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 12, 2019 at 11:07 AM
    -6

    Please check the SAP Note#2791513

    Add a comment
    10|10000 characters needed characters exceeded

    • Hmm... this is not a very good answer to the question.

      The referenced SAP note only states that SAP does not provide support for the HANA tools from tools.hana.ondemand.com and that folks that require help can go and find it... here.

      Yet, this answer sends those that actually can access the SAP note (only those users associated with a paid support contract) into an infinite loop.

      The fact that much of HANA related information - even for the HXE Expression Edition - is only available in closed KBA/SAP notes is a problem in itself, but providing no actual answer on two different levels is a higher level of "not a useful answer".

      For what it's worth, my "note to myself" blog post, that I wrote after figuring out the issue and forgetting it again only to have to find the solution once again, is the most-viewed single post of all on my blog (lbreddemann.org).

      It could, of course, be that the other content is really rubbish and stinks compared to the small fix described in it; however, my take is that it's rather caused by the fact, that this issue affects many users. And those users don't find help from SAP or in this community.

      That's not a great way to foster an open developer community.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.