| NoClassDefFoundError when creating PageableTable in RAP appliction [message #1077556] |
Thu, 01 August 2013 17:53  |
Rohit Deshpande 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 #1081893 is a reply to message #1078056] |
Wed, 07 August 2013 16:51  |
Rohit Deshpande 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 16:52] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01640 seconds