As i mentioned in the comment to the question...
Take a look at the definition of
Team
class. You've got only one player, but you have to be able to add more than one player (max. 5). I'd suggest to use
ArrayList[
^]:
private ArrayList<Player> players = new ArrayList<>();
if(players.size<5)
players.add(player);
Please, read Richard's answer also.