Massimiliano Allegri believes Barcelona will find a solution to Lionel Messi's contract to keep the 'strongest player in the world' at the club.