Syntax error, annotations are only available if source level is 5.0

 導入新項目,eclipse報錯,解決方法:Project > Properties > Java Compiler > 設compiler compliance level 爲 6.0 

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章