Section 1.5.2 on page 22.

The archetype used to create the first application is not the one listed in the book. The name of the artifact is maven-archetype-webapp and has the coordinates:

Table 1.8 Coordinates for the maven webapp archetype
Artifact IDmaven-archetype-webapp

Section 1.5.3 on page 24.

The coordinates for the maven-archetype-webap have changed. The original command was

$ mvn archetype:generate\

The original command is missing properties for the archetype. The first three properties in the original command can have any values. Two additional properties for the archetype must be included.

$ mvn archetype:generate\

The archetype contains the starting code for the examples in the first three chapters of the book.

Contact the author