Skip to Content
0
Former Member
Jun 25, 2008 at 04:43 AM

GetServiceUser Deprecated

22 Views

Hi all,

I used the following code in the my webdynpro appln:

IUser iuser = WPUMFactory.getServiceUserFactory().getServiceUser("cmadmin_service");

IResourceContext irCtx = new ResourceContext(iuser);

It is showing that getServiceUser() has deprecated.

When i run the application the following error is thrown:

java.lang.NoClassDefFoundError: com/sapportals/portal/security/usermanagement/UserManagementException

at com.sap.propfilter.wdp.InternalCPropertyFilter.<init>(InternalCPropertyFilter.java:91)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

at java.lang.reflect.Constructor.newInstance(Constructor.java:274)Filter.java:91)

... 32 more

What is the solution for this?

Thanks and regards,

Shyam.