It's all about the answers!

Ask a question

Add custom star button to RTC eclipse workItem shows error -ClassNotFoundException: com.ibm.team.ui.editor.ITeamFormPartSite


kavita herur (5876894) | asked Feb 21 '18, 12:51 a.m.

HI All,

  
https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentationsV2
 
I followed this link and trying to create star button in eclipse- 603  with 603 jts and 603 RTC SDK client APIs. but in code 
@Override
public void createContent(ITeamFormLayout formLayout) {
final WorkItemEditorToolkit toolkit= (WorkItemEditorToolkit) getSite().getToolkit();
 I get error
!ENTRY org.eclipse.ui 4 0 2018-02-21 11:12:39.414
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: com.ibm.team.ui.editor.ITeamFormPartSite)
at org.eclipse.swt.SWT.error(SWT.java:4083)
at org.eclipse.swt.SWT.error(SWT.java:3998)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)  

 and after few lines of error I get
Caused by: java.lang.ClassNotFoundException: com.ibm.team.ui.editor.ITeamFormPartSite 

 Can you please suggest whats going wrong here..   one of class ITeamFormPartSite  is not found.
 Do I need to include any jars in required imports of meta inf file or Do I need to try with different version of RTC SDK  jars?

Thanks,
Kavita



Be the first one to answer this question!


Register or to post 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.