Skip to Content
0
Former Member
Apr 27, 2009 at 07:53 AM

java.lang.NoClassDefFoundError

59 Views

Hi all,

I am getting the error:

#1.5 #001321CCE41F001900000006000109D000046883F9A0F0CB#1240815944937#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#Administrator#104209##n/a##2eb4a61032f911decf80001321cce41f#SAPEngine_Application_Thread[impl:3]_23##0#0#Error##Java###12:35_27/04/09_0040_21412850

[EXCEPTION]

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

when I try to deploy the following code:

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

ResourceContext irCtx = new ResourceContext(sapUser);

I have the following entry in the portalapp.xml file:

<property name="SharingReference" value="com.sap.portal.usermanagement,com.sap.portal.usermapping,com.sap.km.application"/>

and the jar files com.sap.security.api.jar, com.sap.security.api.ep5.jar, com.sap.portal.usermanagementapi.jar are present in the java build path of the project.

Please help. What is missing in this?

Thanks and Regards,

Ajay.