As noted in the GlassFish user forum, some users have encountered problems when
trying to run the firstcup project. Most of these problems are caused by using
a version of the firstcup project with the wrong version of GlassFish. A user
could follow the links on the project's home page and inadvertently download
and use the Java EE 5 firstcup project with GlassFish v3 or GlassFish Server
Open Source Edition 3.0.1 (Java EE 6-compatible).
The top-level project directory, firstcup, should simply be a container
directory. It should not contain the other project directories (firstcup-2.0,
plans, resources, reviews) and the Java EE 5 firstcup bundles.
A new directory, firstcup-1.0, needs to be created and explicitly labeled as a
directory that contains the Java EE 5-compatible bundles. Then, the firstcup-
1.0 bundles that are in the top-level firstcup directory need to be moved to
the firstcup-1.0 directory.
A label indicating that the firstcup-2.0 directory contains Java EE 6-
compatible bundles needs to be added.
The project home page needs to include a description of both the Java EE 5-
compatible and Java EE 6-compatible versions of the tutorials and clearly
indicate with which versions of GlassFish Server each was designed to work.
Pointers to the appropriate versions of GlassFish Server would help eliminate
confusion as well.