Barcelona soccer star Lionel Messi has been sentenced to 21 months in prison after a court in Barcelona found him guilty of three counts of tax fraud.