Fix @Resource InjectionPoint registration and improve error message