Compiler Error in Eclipse

I'm using Eclipse 3.4 with the BlackBerry JDE installed along with the 4.7 components.

I'm attempting to run an example application and it builds/compiles without error when I right-click on the project and select "Build." However, when I right-click on the project and selec Run As --> BlackBerry Simulator, a new error appears in the "Problems" pane that prevents the application from running:

Re: Compiler Error in Eclipse

Try cleaning the project before running the simulator (Project->Clean).

On a side note when you select "Build" Eclipse builds the project but it is not compiled for the BlackBerry. To build for the BlackBerry you... darn, I can't remember. I always used the shortcuts. The "compile for BlackBerry" shortcut is ALT-B.

When you run the simulator it automatically compiles your project for the BlackBerry.

---Spends time in #blackberrydev on freenode (IRC)----Three simple rules:1. Please use the search bar before making new posts.2. "Like" posts that you find helpful.3. If a solution has been found for your post, mark it as solved.--I code too much. Well, too bad.