悠然哈哈哈

导航

Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted

swith 字符串异常

 

解决:项目属性-Java Compiler-Compiler compliance level:改成1.7就OK了。

posted on 2016-05-03 09:33  悠然886  阅读(829)  评论(0编辑  收藏  举报