Added exception when resource not defined for some schemas