分别点击:
windows---preference--->java---->compiler--->error/waring---->potential programming problems--->'switch ' case fail-throuth
从ignore改为warning