Syntax error, parameterized types are only available if source level is 1.5 or greater
วิธ๊แก้ให้ไปที่
1) Project properties -> Java Compiler
2) ที่ช่อง check box ให้เลือก Enable project specific settings
3) เลือก compiler compliance level เป็น 1.5 เสร็จแล้วเลือก OK
ถ้าทำตามขั้นตอนด้านบนแล้วยังไม่ได้ให้ทดลองเปลี่ยนสลับกันระหว่าง version 1.5 กับ 1.6 ดู
No comments:
Post a Comment