我该如何解决此问题(错误:用于编码UTF-8的不可映射字符)。

时间:2019-07-12 06:41:33

标签: java netbeans

https://imgur.com/FpuYgu8

我已经完成以下操作,但仍然存在错误

1.(nebeans.conf)

netbeans_default_options =“-J-client -J-Xss2m -J-Xms32m -J-Dapple.laf.useScreenMenuBar = true -J-Dapple.awt.graphics.UseQuartz = true -J-Dsun.java2d。 noddraw = true -J-Dsun.java2d.dpiaware = true -J-Dsun.zip.disableMemoryMapping = true“ -J-Dfile.encoding = UTF-8 ;

2.Right click on your project -> Properties -> Sources -> Encoding ->UTF-8
/**
 * TSEK m�ayin\u0259l\u0259ri haqq\u0131nda m\u0259lumatlar\u0131n al\u0131nmas\u0131 ���n Web Service
 * 
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.6-1b01 
 * Generated source version: 2.2
 * 
 */

当我清理并构建项目时,会出现以下错误错误:编码UTF-8的字符不可映射

  1. Netbeans版本 8.1 ;

  2. JDK版本 1.8

0 个答案:

没有答案