I am trying to create an application for creating folders in KM dynamicall by following the
I have added all the jar files required (Given in the blog) from the server to the build path
and added PORTAL:sap.com/com.sap.km.application in the sharing references of webdynpro refernces.
But it is giving me the error "The method getInstance() is undefined for the type ResourceFactory" in the desing time.
ResourceContext context = new ResourceContext(ep5User);
RID rid = RID.getRID("/documents");
ICollection parent = (ICollection) ResourceFactory.getInstance().getResource(rid,context);
Could you suggest me the reason and solution for this error.