An application of A-infinity obstruction theory to representation theory