Skip to main content



      Home
Home » Eclipse Projects » Nebula » NoClassDefFoundError when creating PageableTable in RAP appliction(org/eclipse/swt/custom/TableTreeItem class not found )
NoClassDefFoundError when creating PageableTable in RAP appliction [message #1077556] Thu, 01 August 2013 17:53 Go to next message
Eclipse UserFriend
Hi ,
I am trying to create Pageable Table in eclipse RAP application in web form.
My application doesn't seem to find "TableTreeItem" class. I get following error:

java.lang.NoClassDefFoundError: org/eclipse/swt/custom/TableTreeItem


Code:

PageableTable paginationTable = new PageableTable(shell, SWT.BORDER);

Now I am referring org.eclipse.rap.rwt/2.1.0/org.eclipse.rap.rwt-2.1.0.jar which should contain this swt class.

What can be the reason? Doesn't RAP support Pageable Table in web form of RAP?
Re: NoClassDefFoundError when creating PageableTable in RAP appliction [message #1078056 is a reply to message #1077556] Fri, 02 August 2013 09:33 Go to previous messageGo to next message
Eclipse UserFriend
Hi Rohit,

I don't understand the link between "TableTreeItem" and "PageableTable".
"PageableTable" doesn't use "TableTreeItem", so your problem should come from other reasons.

if you read javadoc of TableTreeItem (RCP), this class is deprecated since 3.1. Perhaps Eclipse RAP has removed this class (to check).

Regards Angelo
Re: NoClassDefFoundError when creating PageableTable in RAP appliction [message #1081893 is a reply to message #1078056] Wed, 07 August 2013 16:51 Go to previous message
Eclipse UserFriend
Hi Angelo,
Thank you for your reply.
I searched more after your answer and it helped me
to solve this problem but I don't know whether I have proper answer.
I created one sample hello world RAP application and added PageableTable and it worked perfectly but for my application it was not working. I was using maven dependencies and referring jars org.eclipse.rap.rwt of version 2.1.0 and jface of version 3.3.0-I20070606-0010 which are the latest in maven repository. However in Sample RAP application I see following jars which I added in my application and it worked perfectly:

org.eclipse.rap.rwt : 2.1.0.20130611-2139
org.eclipse.jface: 2.1.0.20130506-1748

[Updated on: Wed, 07 August 2013 16:52] by Moderator

Previous Topic:GanttEvents from GanntChart?
Next Topic:Change color to Scope events
Goto Forum:
  


Current Time: Sat Jun 14 13:57:17 EDT 2025

Powered by FUDForum. Page generated in 0.03208 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top