Skip to Content
Former Member
Jul 22, 2008 at 09:23 PM

The method getInstance() is undefined for the type ResourceFactory


Hi All

I am trying to create an application for creating folders in KM dynamicall by following the

two blogs.

I have added all the jar files required (Given in the blog) from the server to the build path

and added 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.