Caused by: java.lang.Error: Unresolved compilation problems:解決辦法

Caused by: java.lang.Error: Unresolved compilation problem:
The method replace(char, char) in the type String is not applicable for the arguments (String, String)
解決辦法:
原因有很多,解決辦法也很多,參考地址:
http://www.360doc.com/content/12/1015/17/4152160_241639166.shtml
http://blog.csdn.net/chl033/article/details/4744601
我的解決辦法:
修改eclipse配置:Properties–>Java Compiler–> Compiler compliance level 爲你使用的jdk版本(我的是1.7)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章