2012-08-09 68 views

回答

1

您也可以从JVM选项设置

-Dfile.encoding=UTF-8 -Dfile.io.encoding=UTF-8 -DjavaEncoding=UTF-8 
9

在所有的实例配置文件standalone.xml中也有一个部分,名为system-properties

你可以定义你的属性是这样的:

<system-properties> 
    <property name="file.encoding" value="utf-8"/> 
</system-properties> 

应的部分丢失,只是将它加入后,立即<extensions>部分。