cancel
Showing results for 
Search instead for 
Did you mean: 

ClassDefFoundError in webdynproDC

Former Member
0 Kudos

Hi,

I have created a Java-Classes-DC and a WebDynpro-DC . I use this Java-class-DC as model in my webdynprod DC

I deployed both DCs without any Warning...but when i run the webdynpro-Dc its showing the follwing Error....

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.cpt.modelcomp.ModelComp. (Hint: Is the corresponding DC deployed correctly?

Does the DC contain the component?)

at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)

Here Modelcomp is my webdynpro component name....

Caused by: java.lang.NoClassDefFoundError: com.cpt.Commandbean.CommandBean

at com.cpt.modelcomp.wdp.InternalModelComp.<init>(InternalModelComp.java:41)

Here commandBean is my JAva-class -Dc name....

what could be the problem????

regards,

Thirumurugan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Thirumurugan ,

Could be because of Web Dynpro version in the NetWeaver developer studio is newer than the version on the Web AS where you deploy the application.

In the above case you have to update the WebAS !!

Regards, Anilkumar

Former Member
0 Kudos

Hi Anil,

Thanks for ur reply..

I am using NwDeveloper studio version 2.0.9. and WebAS is 6.4 sp9 ....

Is it necessary to upgrade the server???

when i am using webdynpro Dc .. its working well...

but when i am using Java Dc to Webdynpro Dc through model, its raising an error at run time...

If it is version problem , how it is working for Webdynpro Dc ??

regards,

Thirumurugan.P

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Thirumurugan,

have you added a reference entry for your JavaDC in webdynpro project properties?

Regards

Bogdan