While building the To Do List from ch. 2 I've had no errors until the end. There are no error markers in the code itself, and I've double checked it against the code download. It all looks good. When I save the project (and ensure a clean build by clicking "Project > Clean" from the menu bar) I get a long response in the Console tab at the bottom of the Eclipse workspace.
It essentially says that I'm trying to define a class in a core namespace. The first two paragraphs say this:
Code:
Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library.
This is often due to inadvertently including a core library file in your application's project, when using an IDE (such as Eclipse). If you are sure you're not intentionally defining a core class, then this is the most likely explanation of what's going on.
In my gut I think it may be related to the way the workspace was defined, but I really don't know for sure. Anyone see this before? I can't compile until its fixed.
the last part of the message is really great too! I had to share . . .
Code:
If you find that you cannot do this, then that is an indication that the path you are on will ultimately lead to pain, suffering, grief, and lamentation.
Thanks