1 The IBM JDK read configuration file appears with the following exception caused by:sun.io.MalformedInputException at Sun.io.ByteToCharGB18030.convert (Bytetochargb18030.java (Compiled Code)) at Sun.nio.cs.streamdecoder$convertersd.convertinto (Streamdecoder.java (inlined Compiled Code)) at Sun.nio.cs.streamdecoder$convertersd.implread (Streamdecoder.java (Compiled Code)) at Sun.nio.cs.StreamDecoder.read (Streamdecoder.java (Compiled Code)) at Java.io.InputStreamReader.read (Inputstreamreader.java (Compiled Code)) at Java.io.BufferedReader.fill (Bufferedreader.java (Compiled Code)) at Java.io.BufferedReader.readLine (Bufferedreader.java (Compiled Code)) at Java.io.BufferedReader.readLine (Bufferedreader.java (inlined Compiled Code)) at orG.springframework.util.xml.xmlvalidationmodedetector.detectvalidationmode (Xmlvalidationmodedetector.java ( Compiled Code) Method 1 Online Search method java-dibm.stream.nio=true error Still, problem still exists Way 2 AIX JDK1.4.2 bug patching can solve Java (TM) 2 runt IME Environment, Standard Edition (build 1.4.2) Classic VM (builds 1.4.2, j2re 1.4.2 IBM AIX build ca142-20060421 (SR5) (JI T ENABLED:JITC) Recommended upgrade to 1.4.2 Service release 9 (sidecar only) (pj9ap32142-20070708) Method 3 configuration file can not have Chinese and character encoding consistent
2 Convert Jdk1.5jar package to JDK1.4command-line method:Java-xms256m-xmx512m-jar retrotranslator-transformer-1.2.2.jar-srcdir d:/temp/jdk15/-destdir d:/temp/jdk14lib– Verify converts all jar packages and classes in the source directory to JDK 1.4 versions to the target directory
Ant Task Method<path id= "Retrotranslator.path" >
<fileset dir= "${retrotranslator.home}" >
<include name= "*.jar"/>
</fileset>
</path> <target name= "tojdk14" depends= "" >
<taskdef name= "Retrotranslator" classpathref= "Retrotranslator.path"
Classname= "Net.sf.retrotranslator.transformer.RetrotranslatorTask"/>
<retrotranslator destjar= "${target.ear}/jdk14${ejb.file}"
Srcjar= "${target.ear}/${ejb.file}"
Verify= "false" >
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.