Skip to Content
author's profile photo Former Member
Former Member

u0093Class not foundu0094 for Web Dynpro API class

Hi,

After installing Web AS 6.40 (Java) and the Netweaver Developer Studio (2.0.12) I tried a simple “hello world” example (just a WebDynpro view with a static text, without any further view elements or program logic).

When deploying and starting I constantly receive the following runtime message (top of stacktrace):

“java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/progmodel/api/IWDEventHandlerId”.

“IWDEventHandlerId” is a class delivered with Netweaver Developer Studio. It should be found as further down in the stacktrace I read

“at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:68)” and

“at com.sap.tc.webdynpro.progmodel.generation.DelegatingInterfaceView.<init>(DelegatingInterfaceView.java:44)”.

Classes “ControllerHelper” and “DelegatingInterfaceView” are obviously found and they are contained in the same jar file as “IWDEventHandlerId”! The jar file is …\JDT\eclipse\plugins\com.sap.tc.webdynpro.runtime\lib\_webdynpro_progmodel.jar.

Has anyone had a similar problem and found a solution / a workaround?

Thanks in advance

Thomas Bellinghausen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2005 at 11:13 AM

    Hi Thomas,

    This error is coming due to the version mismatch between your Netweaver developer studio and WAS version. Your NDS version should be same or lower than your WAS version, otherwise it will give such errors.

    Regards,

    Bhavik

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2005 at 08:58 AM

    Hi Thomas ,

    Please repair and repload the project and deploy&run.

    Regards, Anilkumar

    Message was edited by: Anilkumar Vippagunta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2005 at 09:16 AM

    You have different runtime versions (NWDS runtime is newer than Web AS version). If you adapt versions, the error will disappear.

    Armin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2005 at 09:36 AM

    Hi,

    Refer to the following thread.It may help you.

    download to excel - class not found error

    regards,

    Guru

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 22, 2005 at 03:15 PM

    Yes the version hint ist correct, thank you all.

    I had a version mismatch:

    Developer Studio 2.0.12 vs. Web AS SP 9.

    Developer Studio 2.0.9 and Web AS SP 9 fit together (and DevSt 2.0.12 and Web AS SP 12 will, too, I suppose).

    Thomas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2006 at 05:23 AM

    Can anyone letmeknow which version of Netweaver Developer Studio suits for SAP WAS6.0 SP9

    Currently I'm with NDS 2.0.16 and SAP WAS6.0 SP9..

    Please tell me what should i do now...

    Add a comment
    10|10000 characters needed characters exceeded

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.