on 04-16-2007 1:35 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Valery,
Thanks for the reply.
It seems like that to me as well. I can use the code as I've imported
com.sap.tc.col.client.generic.api.IAspect;
, but when it actually tries and load the implementation it can't find it?
Unfortunately, checking the run-time (or build or deploy time) checkboxes on tc/col/runtime did not help.
JP,
AFAIK, reference to CAF runtime should be added via Project / Properties / WebDynpro References menu. Also some parts of CAF are not WD projects so you can't see them in WD Container. Instead, open Visual Administrator, connect to WebAS and check something with col/api or similar either in Services or Libraries subtree.
Valery Silaev
SaM Solutions
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.