Project: springxd
Issue XD-1898: dist task failure - unable to access http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd
The build task "gradlew dist" fails with the following error. 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter]	... 52 more 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: javax.xml.transform.TransformerException: Failure reading /Users/ixr303/spring-xd/build/reference-work/index.xml 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] com.icl.saxon.om.Builder.build(Builder.java:267) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] com.icl.saxon.Controller.transform(Controller.java:936) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] com.icl.saxon.Controller$transform.call(Unknown Source) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] AbstractDocbookReferenceTask.transform(DocbookReferencePlugin.groovy:146) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter]	... 59 more 00:20:16.976 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.parsers.XMLParser.parse(Unknown Source) 00:20:16.977 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) 00:20:16.978 [ERROR] [org.gradle.BuildExceptionReporter] org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 00:20:16.978 [ERROR] [org.gradle.BuildExceptionReporter] com.icl.saxon.om.Builder.build(Builder.java:265) The URL http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd returns 500 error most of the times. Tried to circumvent the error by manually getting the did file locally and running again causes unintended relative path issues. Help is very much appreciated.
Story points: 1