Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 21:53 Go to next message
Rohit Deshpande is currently offline Rohit DeshpandeFriend
Messages: 5
Registered: July 2013
Junior Member
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 13:33 Go to previous messageGo to next message
Angelo ZERR is currently offline Angelo ZERRFriend
Messages: 122
Registered: July 2009
Senior Member
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 20:51 Go to previous message
Rohit Deshpande is currently offline Rohit DeshpandeFriend
Messages: 5
Registered: July 2013
Junior Member
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 20:52]

Report message to a moderator

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


Current Time: Sat Oct 12 09:49:03 GMT 2024

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

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

Back to the top