Otherwise the consumer application's ClassLoader is used for provider application's resource loading, causes file not found or something.