switch to getContextClassLoader to load static resources