kooky TableViewer error..please help [message #283478] |
Sun, 03 April 2005 18:18  |
Eclipse User |
|
|
|
Originally posted by: me.so.angry
hi-
i am getting this error when trying to run the class TableViewerExample.
i didnt change any of the code. it is from a download right off of the
eclipse articles page. Actually i did change one thing and that was the
package name to point to my package. I scammed the source files from a
zip file and imported them into my package. Then i made sure they were
all built after importing.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/eclipse/core/runtime/ISafeRunnable
at com._3rdshiftcoder.db.TableViewerExample.createTableViewer
(TableViewerExample.java:228)
at com._3rdshiftcoder.db.TableViewerExample.addChildControls
(TableViewerExample.java:150)
at com._3rdshiftcoder.db.TableViewerExample.<init>
(TableViewerExample.java:46)
at com._3rdshiftcoder.db.TableViewerExample.main
(TableViewerExample.java:85)
Here are the lines of code related to the syntax error in order.
tableViewer = new TableViewer(table);
createTableViewer();
this.addChildControls(parent);
final TableViewerExample tableViewerExample = new
TableViewerExample(composite);
i suspect it is something not being done right in the eclipse
environment (a setting).
i run another example i put together from scamming from a couple of
different sources (outputting a query against mysql and it works fine).
that class is in the same package.
any ideas why TableViewer is so mean to me?
thanks for any input,
jim
|
|
|
|
Powered by
FUDForum. Page generated in 0.05570 seconds