Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceExcep

Hi,

When I try to execute the following piece of code in my PDK appln:

IUser sapUser = (IUser)request.getUser();

ResourceContext irCtx = new ResourceContext(sapUser);

rid = RID.getRID(path);

ICollection currentFolder =(ICollection) ResourceFactory.getInstance().getResource(rid,irCtx);

getting the error:

#1.5 #001321CCE41F002900000009000109D0000467BA8A43814B#1239950788234#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#Administrator#17051##n/a##46b100502b1b11de8eb0001321cce41f#SAPEngine_Application_Thread[impl:3]_41##0#0#Error##Java###12:16_17/04/09_0028_21412850

[EXCEPTION]

#1#java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceException

My Portalapp.xml file has the following Sharing References:

<property name="SharingReference" value="com.sap.netweaver.bc.rf,knowledgemanagement,com.sap.portal.runtime.config,com.sap.netweaver.bc.util,com.sap.netweaver.bc.crt,com.sap.netweaver.bc.rf,usermanagement,com.sap.netweaver.bc.rf.service,com.sap.netweaver.bc.util"/>

How can I correct this?

Thanks and Regards,

Shyam.

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question