Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Abandoned
-
None
-
None
-
Unknown
Description
Following
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
the usage of JAXB fails with
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)
Attachments
Issue Links
- is related to
-
CAMEL-10141 Test Apache Camel on Java 9
- Resolved