Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Exception while referring Model Bean in Java webdynpro DC

Hi All,

I am facing a strange error in NWDS while referring an imported Model in Java webdynpro DC.

There are 3 webdynpro projects.

1.Webdynpro Project PC1  - Created a new model and added a model class M1.

2.Webdynpro  Project PC2 containing DC2 - PC1 public parts, PC3 public parts  is added as a Used DCs

3. New Project PC3 containing new DC3 -  Added M1 as a reference model

Now when I am navigating from DC2 to DC3, I am getting the below runtime  error. There are no compilation error.

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

Caused by: java.lang.reflect.InvocationTargetException

Caused by: java.lang.NoClassDefFoundError:

But if I create New DC3 in PC1 project which contains a model class M1 and navigating from DC2 to DC3, then I am not getting any such error.

Am I  missing anything here?

Regards,

SPS

Former Member
Not what you were looking for? View more on this topic or Ask a question