Skip to Content
avatar image
Former Member

Web Dynpro Application throws NoClassDefFoundError for IAspect

Hi All

I decided to teach myself a little bit more about Web Dynpros and the Composite Application Framework and as such started working through SAP's tutorials. Currently I'm busy with 'Using a Composite Application via a Web Dynpro UI' - at the section where I need to programmatically populate a DropDownByKey with the location names. I followed the tutorial's instructions step for step, but after deploying and running my application I receive the following error message:

java.lang.NoClassDefFoundError: com/sap/tc/col/client/generic/api/IAspect

Sometimes IAspect is replaced by IStructure.

The detailed error provides this message:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.carpool.travel.Travel. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)

It seems as if it is struggling to find the DC containing IAspect and IStructure, but I have included

tc/col/runtime (default)

in the 'Used DCs' of my Web Dynpro DC.

Any ideas what might be causing this or how to fix it?

Thanks in advance,

JP

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 16, 2007 at 12:58 PM

    JP,

    Sounds like you have built-time reference for tc/col/runtime, but run-time reference is missing. Also I'm not completely sure, but check run-time reference to tc/col/api too (probably it's not necessary but who knows 😉

    Valery Silaev

    SaM Solutions

    http://www.sam-solutions.net

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 12:42 PM

    Maybe I should just also post what I have tried thus far:

    - Searching on the forums and on Google 😉

    - Rebuilding and redeploying all my DCs

    - Stopping and starting the WAS

    Thanks all ...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2007 at 07:07 PM

    Noticed something just now and thought I'd share it (hopefully it can help).

    I logged onto the portal and went to the Web Dynpro tab, which lists Web Dynpro components deployed. Most of the Used DCs in my own Web Dynpro is listed there, but I could not find any corresponding to com/sap/tc/col/client/generic/api.

    Could this be the problem?

    Add comment
    10|10000 characters needed characters exceeded