deprecated class path resource has been removed (use package resource instead of this)