RTC API library access restriction
I'm getting a couple of errors regarding the usage of 2 methods from the RTC API
here they are -first one Description Resource Path Location Type Access restriction: The method createReferenceToItem(IItemHandle) from the type IReferenceFactory is not accessible due to restriction on required library C:\Program Files\IBM\IMShared\plugins\com.ibm.team.repository.common_1.4.0.v20140623_2326.jar FindChangedFiles.java /mailsender_RTC/src/mailsender_rtc line 92 Java Problem -second one Description Resource Path Location Type Access restriction: The method findWorkItemById(int, ItemProfile<IWorkItem>, IProgressMonitor) from the type IWorkItemCommon is not accessible due to restriction on required library C:\Program Files\IBM\IMShared\plugins\com.ibm.team.workitem.common_3.2.1.v20140604_0005.jar FindChangedFiles.java /mailsender_RTC/src/mailsender_rtc line 86 Java Problem source file : https://jazz.net/wiki/pub/Main/RTCPlainJavaAPIs/findChangedFiles.zip RTC:4.0.7 JRE:1.6 bundled with RTC 4.0.7 |
Accepted answer
I downloaded the source and set it up to use the V 5.0 plain java libs and it runs fine..
it looks like you have the runtime libs set incorrectly. download the plainjava libs from the product version (all downloads section) downloads page unzip the zip file create a user 'library' of all the jars in that folder. add that libarary to you eclipse project build path properties Zaid Al-Khishman selected this answer as the correct answer
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.