Why was there a lockout during the 1998-1999 NBA season?

The players and owners failed to reach an agreement on salaries.