Skip to Content
0
Former Member
Nov 30, 2006 at 02:14 PM

Use java class in WebDynpro DC

25 Views

Hi,

I want to use a java class in WebDynpro DC.

What I have done:

1.Created a webDynpro DC and added a java class in the src-> package.

2.Next I declared it as a Public Part.

3.Build the DC.

4.In the test WebDynpro DC , have added this java class as used DC.

5.In the test DC, went to properties->WebDynpro References->Sharing references->and added the Used DC.

6.Now I imported the package and it compiles fine.

7.But during run time it gives error

java.lang.NoClassDefFoundError: com/sap/sub/Sub

Kindly help!

Regards,

Debasish