MNK-5834 Added some logging and make sure the loading of classes don't trigger a failure

git-svn-id: http://svn.terracotta.org/svn/ehcache@8497 b9324663-ca0f-0410-8574-be9b3887307d