1 1.修改项目编码格式: 2 3 把鼠标移到项目名,右键 --> Properties --> Resource --> Text file enCoding -->更改编码为UTF-8 --> Apply and Close 4 5 6 2.修改整个Eclipse工作空间的编码 7 8 Window --> Preferences --> General --> Workspace -->Text file enCoding -->更改编码为UTF-8 --> Apply and Close
一般都可以解决的!