Syntax error, annotations are only available if source level is 1.5 or greater

前言 在學習一個參考工程,在我這用eclipse打開後,顯示有很多錯誤。 現在工程代碼翻的差不多了, 準備開始動態調試,要解決這些編譯錯誤。 看到錯誤提示是」Syntax error, annotations are only available if source level is 1.5 or greater」 可能我這jdk版本(jdk-8u161-windows-x64)和eclipse的
相關文章
相關標籤/搜索