Skip to Content

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

How to get KM server class path while my DC is on localDevelopment?

Dear All,

Everything works fine (I am able to access KM jar files which reside on server) when the type of my project is web dynpro project. But when I try to implement the whole scenario in a development component project(local developement, DTR is not used), all of the KM jar files can not be found when building the files. (the set-up/configuration is exactly the same as the workable one - web dynpro project)

The error message is as follows:

<b>Is there any difference between DC and web dynpro project when accessing KM??</b> Do I miss something in DC?

thanks,

Zita

=========================================================

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:32: package com.sapportals.portal.security.usermanagement does not exist

import com.sapportals.portal.security.usermanagement.IUser;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:33: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.ICollection;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:34: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.IProperty;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:35: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.IPropertyName;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:36: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.IResource;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:37: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.IResourceContext;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:38: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.IResourceFactory;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:39: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.IResourceList;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:40: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.IResourceListIterator;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:41: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.PropertyName;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:42: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.ResourceContext;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:43: package com.sapportals.wcm.repository does not exist

import com.sapportals.wcm.repository.ResourceFactory;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:44: package com.sapportals.wcm.util.uri does not exist

import com.sapportals.wcm.util.uri.RID;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:45: package com.sapportals.wcm.util.usermanagement does not exist

import com.sapportals.wcm.util.usermanagement.WPUMFactory;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:220: package com.sap.security.api does not exist

com.sap.security.api.IUser sapUser = wdClientUser.getSAPUser();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:223: cannot resolve symbol

symbol : class IUser

location: class com.sap.dc.AttachmentCompView

IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:223: cannot resolve symbol

symbol : variable WPUMFactory

location: class com.sap.dc.AttachmentCompView

IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:226: cannot resolve symbol

symbol : class IResourceContext

location: class com.sap.dc.AttachmentCompView

IResourceContext resourceContext = new ResourceContext(ep5User);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:226: cannot resolve symbol

symbol : class ResourceContext

location: class com.sap.dc.AttachmentCompView

IResourceContext resourceContext = new ResourceContext(ep5User);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:229: cannot resolve symbol

symbol : class IResourceFactory

location: class com.sap.dc.AttachmentCompView

IResourceFactory resourceFactory = ResourceFactory.getInstance();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:229: cannot resolve symbol

symbol : variable ResourceFactory

location: class com.sap.dc.AttachmentCompView

IResourceFactory resourceFactory = ResourceFactory.getInstance();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:231: cannot resolve symbol

symbol : class RID

location: class com.sap.dc.AttachmentCompView

RID pathFileRID = RID.getRID(path);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:231: cannot resolve symbol

symbol : variable RID

location: class com.sap.dc.AttachmentCompView

RID pathFileRID = RID.getRID(path);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:232: cannot resolve symbol

symbol : class IResource

location: class com.sap.dc.AttachmentCompView

IResource resourceFile = resourceFactory.getResource(pathFileRID,resourceContext);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:289: cannot resolve symbol

symbol : class IUser

location: class com.sap.dc.AttachmentCompView

IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:289: cannot resolve symbol

symbol : variable WPUMFactory

location: class com.sap.dc.AttachmentCompView

IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:292: cannot resolve symbol

symbol : class IResourceContext

location: class com.sap.dc.AttachmentCompView

IResourceContext resourceContext = new ResourceContext(ep5User);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:292: cannot resolve symbol

symbol : class ResourceContext

location: class com.sap.dc.AttachmentCompView

IResourceContext resourceContext = new ResourceContext(ep5User);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:295: cannot resolve symbol

symbol : class IResourceFactory

location: class com.sap.dc.AttachmentCompView

IResourceFactory resourceFactory = ResourceFactory.getInstance();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:295: cannot resolve symbol

symbol : variable ResourceFactory

location: class com.sap.dc.AttachmentCompView

IResourceFactory resourceFactory = ResourceFactory.getInstance();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:301: cannot resolve symbol

symbol : class RID

location: class com.sap.dc.AttachmentCompView

RID pathRID = RID.getRID(path);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:301: cannot resolve symbol

symbol : variable RID

location: class com.sap.dc.AttachmentCompView

RID pathRID = RID.getRID(path);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:304: cannot resolve symbol

symbol : class IResource

location: class com.sap.dc.AttachmentCompView

IResource resource = resourceFactory.getResource(pathRID,resourceContext);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:307: cannot resolve symbol

symbol : class ICollection

location: class com.sap.dc.AttachmentCompView

ICollection collection = (ICollection)resource;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:307: cannot resolve symbol

symbol : class ICollection

location: class com.sap.dc.AttachmentCompView

ICollection collection = (ICollection)resource;

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:310: cannot resolve symbol

symbol : class IResourceList

location: class com.sap.dc.AttachmentCompView

IResourceList resourceList = collection.getChildren();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:313: cannot resolve symbol

symbol : class IResourceListIterator

location: class com.sap.dc.AttachmentCompView

IResourceListIterator resourceListItelator = resourceList.listIterator();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:320: cannot resolve symbol

symbol : class IResource

location: class com.sap.dc.AttachmentCompView

IResource tempResource = resourceListItelator.next();

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:325: cannot resolve symbol

symbol : class IPropertyName

location: class com.sap.dc.AttachmentCompView

IPropertyName propertyName = new PropertyName(NAMESPACE_NAME,FILE_DESCRIPTION_NAME);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:325: cannot resolve symbol

symbol : class PropertyName

location: class com.sap.dc.AttachmentCompView

IPropertyName propertyName = new PropertyName(NAMESPACE_NAME,FILE_DESCRIPTION_NAME);

^

C:\Documents and Settings\a\.dtc\LocalDevelopment\t\28FB3AEDA124E1798A19AEC0F98797FF\gwd\packages\com\sap\dc\AttachmentCompView.java:326: cannot resolve symbol

symbol : class IProperty

location: class com.sap.dc.AttachmentCompView

IProperty property = tempResource.getProperty(propertyName);

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