Tuesday, May 18, 2010

Eclipse RCP application Bundle org.eclipse.ui errors!

Trying to do the Eclipse RCP tutorial and getting compile errors when doing Chapter 3 - Create your first RCP application?

Errors you might be getting:
- Type AbstractUIPlugin cannot be resolved to a type
- Bundle org.eclipse.ui cannot be resolved
- Compile errors

Try this:

1. Click on Window->Preferences
2. Expand Plug-In Development on the tree
3. Click Target Platform
4. Make sure "Running Platform" is active, if it's not, tick it, and click reload, then try to build your project again.