How To Solve Apache Ant java Task Execution Errors如何解决Apache的蚂蚁Java的任务,执行错误
I have seen myriad errors when executing java task.我看过无数的错误时,执行Java的任务。 For example I have seen: javax.xml.parsers.FactoryConfigurationError?: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl?例如我所看到的: javax.xml.parsers.factoryconfigurationerror ? :供应商org.apache.xerces.jaxp.documentbuilderfactoryimpl ? not found when executing the java task in jdk1.5.0没有发现时,执行任务的Java在jdk1.5.0
The problems with debugging the errors is that the commandline used by java task is not visible, even in verbose mode.问题与调试的错误,就是命令所使用的Java的任务是不可见,即使在详细模式。
The solution to both the problems is to add the attribute fork=”true” to java task.要解决这两个问题是添加属性叉= “真正的” Java的任务。 This not only solves strange java task related problems but also provides detailed commandline in verbose mode.这不仅解决了奇怪的Java的任务有关的问题,而且也提供了详细的命令,在详细模式。 Highly recommended.高度推荐。
Filed under提起下 Headline News头条新闻 , , How To如何 , , Java Software Java软件 , , Tech Note技术说明 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article电子邮件此文章
You may also like to read您也可以想读 |



