cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kieselhorst (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-5716) CXF build fails with JDK 1.8
Date Wed, 13 Jan 2016 13:36:40 GMT

    [ https://issues.apache.org/jira/browse/CXF-5716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15096191#comment-15096191
] 

Dennis Kieselhorst commented on CXF-5716:
-----------------------------------------

Seems to be fixed now so the issue can be resolved.

> CXF build fails with JDK 1.8
> ----------------------------
>
>                 Key: CXF-5716
>                 URL: https://issues.apache.org/jira/browse/CXF-5716
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>         Environment: Windows
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
>            Reporter: Przemyslaw Bielicki
>         Attachments: console.out
>
>
> [WARNING] Exception in thread "main" java.lang.AssertionError: org.xml.sax.SAXParseException;
systemId: jar:file:/D:/m2repo/com/sun/xml/bind/jaxb-xjc/2.2.7/jaxb-xjc-2.2.7.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd;
lineNumber: 52; columnNumber: 88; schema_reference: Failed to read schema document 'xjc.xsd',
because 'file' access is not allowed due to restriction set by the accessExternalSchema property.

> [WARNING] 	at com.sun.tools.xjc.SchemaCache.newValidator(SchemaCache.java:80)
> [WARNING] 	at com.sun.tools.xjc.reader.xmlschema.bindinfo.AnnotationParserFactoryImpl$1$1.startElement(AnnotationParserFactoryImpl.java:118)
> [WARNING] 	at com.sun.xml.xsom.impl.parser.state.NGCCRuntime.startElement(NGCCRuntime.java:253)
> [WARNING] 	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
> [WARNING] 	at com.sun.tools.xjc.util.SubtreeCutter.startElement(SubtreeCutter.java:108)
> [WARNING] 	at com.sun.tools.xjc.reader.ExtensionBindingChecker.startElement(ExtensionBindingChecker.java:150)
> [WARNING] 	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
> [WARNING] 	at com.sun.tools.xjc.reader.xmlschema.parser.IncorrectNamespaceURIChecker.startElement(IncorrectNamespaceURIChecker.java:128)
> [WARNING] 	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
> [WARNING] 	at com.sun.tools.xjc.reader.xmlschema.parser.CustomizationContextChecker.startElement(CustomizationContextChecker.java:193)
> [WARNING] 	at org.xml.sax.helpers.XMLFilterImpl.startElement(XMLFilterImpl.java:551)
> [WARNING] 	at com.sun.tools.xjc.reader.internalizer.DOMForestScanner$LocationResolver.startElement(DOMForestScanner.java:147)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:244)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:281)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.visit(DOMScanner.java:250)
> [WARNING] 	at com.sun.xml.bind.unmarshaller.DOMScanner.scan(DOMScanner.java:127)
> [WARNING] 	at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:92)
> [WARNING] 	at com.sun.tools.xjc.reader.internalizer.DOMForestScanner.scan(DOMForestScanner.java:100)
> [WARNING] 	at com.sun.tools.xjc.reader.internalizer.DOMForestParser.parse(DOMForestParser.java:104)
> [WARNING] 	at com.sun.tools.xjc.ModelLoader$XMLSchemaParser.parse(ModelLoader.java:269)
> [WARNING] 	at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.parseEntity(NGCCRuntimeEx.java:347)
> [WARNING] 	at com.sun.xml.xsom.impl.parser.ParserContext.parse(ParserContext.java:128)
> [WARNING] 	at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:168)
> [WARNING] 	at com.sun.xml.xsom.parser.XSOMParser.parse(XSOMParser.java:157)
> [WARNING] 	at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:534)
> [WARNING] 	at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:269)
> [WARNING] 	at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:95)
> [WARNING] 	at org.apache.cxf.tools.wsdlto.databinding.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:460)
> [WARNING] 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.generateTypes(WSDLToJavaContainer.java:714)
> [WARNING] 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.processWsdl(WSDLToJavaContainer.java:270)
> [WARNING] 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:164)
> [WARNING] 	at org.apache.cxf.tools.wsdlto.WSDLToJavaContainer.execute(WSDLToJavaContainer.java:412)
> [WARNING] 	at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
> [WARNING] 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:113)
> [WARNING] 	at org.apache.cxf.tools.wsdlto.WSDLToJava.run(WSDLToJava.java:86)
> [WARNING] 	at org.apache.cxf.maven_plugin.wsdl2java.ForkOnceWSDL2Java.main(ForkOnceWSDL2Java.java:51)
> [WARNING] Caused by: org.xml.sax.SAXParseException; systemId: jar:file:/D:/m2repo/com/sun/xml/bind/jaxb-xjc/2.2.7/jaxb-xjc-2.2.7.jar!/com/sun/tools/xjc/reader/xmlschema/bindinfo/binding.xsd;
lineNumber: 52; columnNumber: 88; schema_reference: Failed to read schema document 'xjc.xsd',
because 'file' access is not allowed due to restriction set by the accessExternalSchema property.

> [WARNING] 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:203)
> [WARNING] 	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaErr(XSDHandler.java:4162)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.reportSchemaFatalError(XSDHandler.java:4141)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.getSchemaDocument(XSDHandler.java:2168)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.resolveSchema(XSDHandler.java:2078)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.constructTrees(XSDHandler.java:1008)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.traversers.XSDHandler.parseSchema(XSDHandler.java:620)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:616)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:574)
> [WARNING] 	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaLoader.loadGrammar(XMLSchemaLoader.java:540)
> [WARNING] 	at com.sun.org.apache.xerces.internal.jaxp.validation.XMLSchemaFactory.newSchema(XMLSchemaFactory.java:255)
> [WARNING] 	at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:638)
> [WARNING] 	at javax.xml.validation.SchemaFactory.newSchema(SchemaFactory.java:670)
> [WARNING] 	at com.sun.tools.xjc.SchemaCache.newValidator(SchemaCache.java:77)
> [WARNING] 	... 41 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message