0
我有螞蟻的XMLBean任務的HotSpot 1.8下工作正常,但在IBM J9失敗例外IO Error java.nio.charset.UnmappableCharacterException: Input length = 1
螞蟻的XMLBean任務行爲從Oracle HotSpot的不同,對IBM J9
如何可我解決呢?
這裏是我的Ant任務:
<target name="gen">
<taskdef name="xmlbean" classname="org.apache.xmlbeans.impl.tool.XMLBean" classpathref="cpth" />
<xmlbean destfile="./ttt.jar"
classpathref="cpth">
<fileset dir="C:\projects\whatever" includes="1.xsd 2.xsd conf.xsdconfig"/>
</xmlbean>
</target>
XSD文件包含德語變音(如A,U字母)。我嘗試將文件保存爲UTF-8和iso-8859-1,但結果相同。