The attribute type is required in the declaration of attribute "cata" for element "set".
Hibernate 映射文件 `
...
專案右鍵 → Properties → Validation → 勾選 "Override validation preferences" → 取消勾選 "XML Validator" 或具體項目。