In eas6, jdk1.4 was used before, so problems may occur during release. We need to modify E: \ kingdee630 \ EAS \ Bos \ bosmodular \ Bim \ eclipse \ plugins \ com. kingdee. bos. bim_6.1.0 \ configs \ ant two configuration files under the Directory: 1. Deploy. <javac srcdir = "$ {srctemp}" destdir = "$ {dir. classes} "DEBUG =" on "nowarn =" on "Source =" 1.5 "verbose =" false "fork =" false "target =" 1.5 "failonerror =" true "> <target name = "compileweb" Description = "compile web content" If = "deployweb"> <javac srcdir = "$ {dir. web_src} "destdir =" $ {dir. web_root}/WEB-INF/classes "DEBUG =" on "nowarn =" on "Source =" 1.5 "verbose =" true "fork =" false "target =" 1.5 "failonerror =" true "> <classpath Path =" $ {dir. classes} "> <fileset dir =" $ {dir. lib} "> <exclude name =" src /**/*. * "/> <include name =" SP /**/*. zip "/> <include name =" SP /**/*. jar "/> <include name = "**/*. jar "/> <include name = "**/*. zip "/> </fileset> <fileset dir =" $ {dir. web_root}/WEB-INF/lib "> <include name = "**/*. jar "/> <include name = "**/*. zip "/> </fileset> <fileset dir =" $ {dir. PROJECT}/web/webroot/WEB-INF/lib "> <include name = "**/*. jar "/> <include name = "**/*. zip "/> </fileset> </classpath> <compilerarg value ="-xlint: unchecked "/> </javac> <copy description =" Copy resource file "todir =" $ {dir. web_root}/WEB-INF/classes "> <fileset dir =" $ {dir. web_src} "> <include name = "**/*. properties "/> </fileset> </copy> </Target> 2. Modify the build_metadate_jar.xml file <Target description =" compile Java file "name =" compile "depends =" deploy "> <javac srcdir = "$ {tempdir}/Java" destdir = "$ {tempdir}/classes" DEBUG = "off" nowarn = "on" Source = "1.5" target =" 1.5 "fork =" true "memoryinitialsize =" 128 M "memorymaximumsize =" 1024 M "failonerror =" true "tempdir =" $ {tempdir} "> <classpath> <fileset dir = "$ {dir. lib} "> <include name =" SP /**/*. zip "/> <include name =" SP /**/*. jar "/> <include name =" Web /**/*. zip "/> <include name =" Web /**/*. jar "/> <include name =" common /**/*. zip "/> <include name =" common /**/*. jar "/> <include name =" client /**/*. zip "/> <include name =" client /**/*. jar "/> <include name =" server /**/*. zip "/> <include name =" server /**/*. jar "/> </fileset> </classpath> </javac> <copy todir =" $ {tempdir}/classes "> <fileset dir =" $ {tempdir}/Java "> <include name = "**/*. properties "/> </fileset> </copy> </Target> the same error may occur when you use the deployment tool. In this case, you only need to modify the publish_local_apusic.xml file, just change the original version 1.4 to version 1.5.
Source Address: http://blog.csdn.net/h249059945/article/details/7827658