Syntax error,annotations are only available if source level is 5.0 解决办法:[color=red]Project->JavaCompiler->Compiler Compliance Level->Select "5.0"[/color] or Higher Project->Java Build Path->Libraries->Add Library...->JUnit->Select "JUnit 4.0"->Finish 经过以上设置后可顺利解决问题。
红色的表过经过试验。通过
红色的表过经过试验。通过