I’d guess that further up the log you will see something about the MyDataSource bean not being instantiated. Either that or the file it is declared in isn’t being loaded.