git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java 9 build


Hi Colm,
we have a daily build to test Camel on Java 9 and 10[1]. We build on
Java 8 and run tests on 9/10, we're now looking into running tests on
Java 11 early access builds.

John Poth worked on getting Camel to build on Java 9, while I haven't
tried it recently I believe this should still work.

What I see in the error you provided is a namespace issue while
parsing XML, are you behind a proxy? If so, could that proxy interfere
with downloading XSD files from the Internet?

You might try downloading that camel-spring.xsd[2] file and see if it looks OK.

zoran

[1] https://builds.apache.org/view/C/view/Apache%20Camel/job/Camel.daily/
[2] https://camel.apache.org/schema/spring/camel-spring.xsd

On Wed, Jun 27, 2018 at 5:33 PM, Colm O hEigeartaigh
<coheigea@xxxxxxxxxx> wrote:
> Hi all,
>
> Is the current Camel master supposed to build with Java 9? I get some
> failures in camel-spring with Java 9.0.4 along the lines of:
>
> [ERROR]
> testInvokeServiceWithMessageHeader(org.apache.camel.spring.produce.ProduceTest)
> Time elapsed: 0 s  <<< ERROR!
> java.lang.IllegalStateException: Failed to load ApplicationContext
> Caused by:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 1 in XML document from class path resource
> [org/apache/camel/spring/produce/ProduceTest-context.xml] is invalid;
> nested exception is org.xml.sax.SAXParseException; systemId:
> http://camel.apache.org/schema/spring/camel-spring.xsd; lineNumber: 1;
> columnNumber: 242; s4s-elt-schema-ns: The namespace of element 'schema'
> must be from the schema namespace, 'http://www.w3.org/2001/XMLSchema'.
> Caused by: org.xml.sax.SAXParseException: s4s-elt-schema-ns: The namespace
> of element 'schema' must be from the schema namespace, '
> http://www.w3.org/2001/XMLSchema'.
>
> Colm.
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com



-- 
Zoran Regvart



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-camel-development/msg04293.html on line 123
Call Stack
#TimeMemoryFunctionLocation
10.0009364424{main}( ).../msg04293.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-camel-development/msg04293.html on line 123
Call Stack
#TimeMemoryFunctionLocation
10.0009364424{main}( ).../msg04293.html:0