Eclipse中報錯:截圖如下:
報錯信息爲:Syntax error, annotations are only available if source level is 1.5 or greater
解決方法截圖如下: