Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 7999

Exception while referring Model Bean in Java webdynpro DC

$
0
0

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


Viewing all articles
Browse latest Browse all 7999

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>