BOS V7.5导入解决方案失败
金蝶云社区-lynina
lynina
0人赞赏了该文章 2,087次浏览 未经作者许可,禁止转载编辑于2016年03月14日 21:42:06

BOS V7.5导入解决方案有错误,ant_log.txt文件详见附件。
执行任务:导入解决方案: Project_0, 详细ANT日志:E:\workspace

\Project_0\ant_log.txt
[2016-03-14 21:00:16]开始执行ANT脚本....
[2016-03-14 21:00:17]开始执行 [initial] (创建工程目录)...
[2016-03-14 21:00:17]开始执行 [releaseRuntime] (解压模板)...
[2016-03-14 21:00:40]开始执行 [copyServerFile] (复制服务器文件)...
[2016-03-14 21:25:42]开始执行 [releaseServerFile] (释放压缩文件)...
[2016-03-14 21:26:16]开始执行 [copyTemplate] (复制模板文件)...
[2016-03-14 21:26:45]开始执行 [configProject] (配置工程)...
ANT脚本执行失败!
importBIMProject 执行错误,错误堆栈:
E:\kingdeeBOS75\bos\BOSModular\bim\eclipse\plugins

\com.kingdee.bos.bim_6.1.0\configs\ant\import.xml:216:

com.kingdee.util.ConfigurationException: parse file error
at org.apache.tools.ant.dispatch.DispatchUtils.execute

(DispatchUtils.java:115)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets

(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets

(DefaultExecutor.java:41)
at

org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets

(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run

(InternalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run

(InternalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke

(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke

(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.runScript

(BaseAntScriptJob.java:263)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.run

(BaseAntScriptJob.java:187)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: com.kingdee.util.ConfigurationException: parse file error
at com.kingdee.util.XMLConfiguration.load(XMLConfiguration.java:379)
at com.kingdee.util.XMLConfiguration.getInstance

(XMLConfiguration.java:134)
at com.kingdee.bos.bim.ant.task.FixClientConfigTask.execute

(FixClientConfigTask.java:40)
at org.apache.tools.ant.UnknownElement.execute

(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke

(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute

(DispatchUtils.java:105)
... 18 more
Caused by: org.jdom.input.JDOMParseException: Error on line 1 of document

file:/E:/workspace/Project_0/runtime/client/deploy/client/config.xml:

Premature end of file.
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:333)
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:684)
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:664)
at com.kingdee.util.XMLConfiguration.load(XMLConfiguration.java:358)
... 25 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:327)
... 28 more
--- Nested Exception ---
com.kingdee.util.ConfigurationException: parse file error
at com.kingdee.util.XMLConfiguration.load(XMLConfiguration.java:379)
at com.kingdee.util.XMLConfiguration.getInstance

(XMLConfiguration.java:134)
at com.kingdee.bos.bim.ant.task.FixClientConfigTask.execute

(FixClientConfigTask.java:40)
at org.apache.tools.ant.UnknownElement.execute

(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke

(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute

(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets

(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets

(DefaultExecutor.java:41)
at

org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets

(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run

(InternalAntRunner.java:623)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run

(InternalAntRunner.java:456)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke

(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke

(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:378)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.runScript

(BaseAntScriptJob.java:263)
at com.kingdee.bos.bim.scriptjob.BaseAntScriptJob.run

(BaseAntScriptJob.java:187)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: org.jdom.input.JDOMParseException: Error on line 1 of document

file:/E:/workspace/Project_0/runtime/client/deploy/client/config.xml:

Premature end of file.
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:333)
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:684)
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:664)
at com.kingdee.util.XMLConfiguration.load(XMLConfiguration.java:358)
... 25 more
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at com.kingdee.util.BOSSAXBuilder.build(SAXBuilderFactory.java:327)
... 28 more

详细过程请参考文件:E:\workspace\Project_0/ant_log.txt
---

ant_log.rar(173.52KB)