解决:
Windows->Preferences->Java->Complicer->Errors/Warnings
将 Deprecated and restricted API 中的 Forbidden references(access rules) 选为Warning就可以了