Fixed the issue that unable to decalre dormitory repository annotation.