第1个回答 2015-12-15
检查一下程序之中是否出现非法字符或者是非英文状态下的字符,比如中文括号等等
第2个回答 2016-08-17
java中有些字符是有特定含义的,如 (/ " \ { } [ ] . 等),如果你就想使用这些字符(如定义一个字符"\",那么必须要转义一下,String str = “\\”),所以你出现的非法字符错误是使用了java中的特定字符,转义一下就可以了
第3个回答 2015-12-07
如果你是用eclipse的话,把出现非法字符的java文件的编码设置成IOS,然后那个非法字符应该就会显示出来,删除掉非法字符再把文件改成你原来的编码
第4个回答 2016-01-26
既然加了‘\’就表示它是八进制或十六进制的数字字符,你这怎么也不符合两个中的任意一个,要么改一下成八进制\562 或者是十六进制\288