camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-10182) JDK9: camel-core adds invalid jaxb version
Date Mon, 25 Jul 2016 14:22:20 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-10182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen updated CAMEL-10182:
--------------------------------
    Fix Version/s: Future

> JDK9: camel-core adds invalid jaxb version
> ------------------------------------------
>
>                 Key: CAMEL-10182
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10182
>             Project: Camel
>          Issue Type: Task
>          Components: camel-core
>            Reporter: Thomas Diesler
>             Fix For: Future
>
>
> Following 
> {code}
> java version "9-ea"
> Java(TM) SE Runtime Environment (build 9-ea+128)
> Java HotSpot(TM) 64-Bit Server VM (build 9-ea+128, mixed mode)
> [WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11 is invalid, transitive dependencies
(if any) will not be available, enable debug logging for more details
> [WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11 is invalid, transitive dependencies
(if any) will not be available, enable debug logging for more details
> {code}
> the usage of JAXB fails with 
> {code}
> org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception
parsing XML document from URL [file:/Users/tdiesler/git/wildfly-camel/itests/camel/target/test-classes/cxf/cxfrs-camel-context.xml];
nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
> 	at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-ea/BuiltinClassLoader.java:366)
> 	at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-ea/ClassLoaders.java:185)
> 	at java.lang.ClassLoader.loadClass(java.base@9-ea/ClassLoader.java:419)
> 	at org.wildfly.extension.camel.SpringCamelContextFactory$CamelNamespaceHandlerResolver.<init>(SpringCamelContextFactory.java:111)
> 	at org.wildfly.extension.camel.SpringCamelContextFactory$1.createDefaultNamespaceHandlerResolver(SpringCamelContextFactory.java:88)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.getNamespaceHandlerResolver(XmlBeanDefinitionReader.java:536)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.createReaderContext(XmlBeanDefinitionReader.java:527)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
> 	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
> 	at org.wildfly.extension.camel.SpringCamelContextFactory.createCamelContextList(SpringCamelContextFactory.java:91)
> 	at org.wildfly.extension.camel.SpringCamelContextFactory.createSingleCamelContext(SpringCamelContextFactory.java:57)
> 	at org.wildfly.camel.test.camel.cxf.CXFRestConsumerTest.beforeClass(CXFRestConsumerTest.java:45)
> {code}



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

Mime
View raw message