on 2008 Jun 25 5:43 AM
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.
Hi Shyam,
I think u have to give sharing reference for usermanagement,
right click on the project name -> go to properties -> Web Dynpro References -> Sharing References -> Add a new reference for the usermapping
PORTAL:sap.com/com.sap.portal.usermapping
This may solve your problem.
Regards,
Kalaivani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.