Class Cast exception when creating the REST project through generic project: SOAP-603