Fix issue with IgnoreResourceNotFound when running under Spring Boot.

Fix issue when running with Spring Boot, IgnoreResourceNotFound was not working as an Apache Commons  exception was being thrown not an IOException.