Errata

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
Group IDorg.bytesizebook.com.guide.boot
Artifact IDmaven-archetype-webapp
Version1.0

Section 1.5.3 on page 24.

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

$ mvn archetype:generate
    -DgroupId=org.bytesizebook.com.guide.boot\
    -DartificatId=basic-webapp\
    -DpackageName=com.bytesizebook.com\
    -DarchetypeArtifactId=maven-archetype-webapp
                

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
    -DgroupId=org.bytesizebook.com.guide.boot\
    -DartificatId=basic-webapp\
    -DpackageName=com.bytesizebook.com\
    -DarchetypeArtifactId=maven-archetype-webapp\
    -DarchetypeGroupId=org.bytesizebook.com.guide.boot\
    -DarchetypeVersion=1.0
                

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


Contact the author