Can't resolve the type of object in java

public class GuessGame {
Player p1;
Player p2;
Player p3;

The following code, when put into eclipse says that ’

person can’t be resolved to a type

’ although it is given in the book head first java as a code example.