I have seen myriad errors when executing java task. 본 적이있어 자바 작업을 실행하는 무수한 오류가 발생합니다. 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 자바 작업을 실행하는 경우 jdk1.5.0를 찾을 수없습니다

The problems with debugging the errors is that the commandline used by java task is not visible, even in verbose mode. 문제의 오류를 디버깅 작업은 자바에서 사용하는 명령은 표시되지 않음에도 자세한 모드로합니다.

The solution to both the problems is to add the attribute fork=”true” to java task. 둘 다 문제의 해결책은 포크의 특성을 추가할 = "진실"을 자바 작업을합니다. This not only solves strange java task related problems but also provides detailed commandline in verbose mode. 이 이상한 자바 작업을뿐 아니라 관련 문제를 해결뿐만 아니라 세부 정보 표시 모드에 대한 자세한 내용 명령행합니다. Highly recommended. 적극 추천합니다.