cancel
Showing results for 
Search instead for 
Did you mean: 

Exception on deployment !

Former Member
0 Kudos

Hi all,

Whenever i am trying to use a check box or a chekbox group in my UI , i am getting following error

The initial exception that caused the request to fail, was:

java.lang.NoClassDefFoundError: com/sap/tc/webdynpro/clientserver/uielib/standard/api/IWDAbstractToggle

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Class.java:1618)

at java.lang.Class.getConstructors(Class.java:865)

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

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)

... 30 more

How to get rid of this error??

PS: I am not an expert in WD but a newbie

Regards,

Ameya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ameya,

Bind the checked property of checkbox to a boolean type context value attribute.

bindchecked property is must to use a checkbox.

If your are getting problem after this-

check the action you are giving in ontoggle event.

Regards

DK

Answers (2)

Answers (2)

former_member188632
Active Contributor
0 Kudos

It was NWDS version and WAS version conflict. The check boxes workes on newer version of WAS. However, on WAS 6.40 it gives error.

Former Member
0 Kudos

Hi ameya

right click on ur project >repair-->project structure and classpath

Hazrath

former_member188632
Active Contributor
0 Kudos

Thanks for the reply,

I tried repairing my project and class path and rebuilding it also. But i am still getting the same error.

Regards,

Ameya

Former Member
0 Kudos

Hi Ameya,

Post ur code here..

Regards,

P.Manivannan

former_member188632
Active Contributor
0 Kudos

Hi,

I am just using a check box, i have created a simple type for it and did context mapping..what code you are expecting me to post here?

Regards,

Ameya

Former Member
0 Kudos

Hi ameya,

1. create one attribute called boolean dataype

2. right click ur checkbox properties---->

checked--> mapped your attribute

that's it.

Regards,

P.Manivannan