I tried to execute a lab to unmarshal xml files to Java object using spring DSL with jaxb (Fuse 7), however occurs this message when I execute the camel route
Caused by: javax.xml.bind.JAXBException: "com.redhat.training.model" doesnt contain ObjectFactory.class or jaxb.index
In the course material, is wrote to create a route using the tags <dataFormats>
<bean id="xmlProcessor" class="com.redhat.training.processor.XmlProcessor" />
<jaxb id="jaxb" contextPath="com.redhat.training.model" ></jaxb>
<from id="_from1" uri="file:files/xml"/>
<to uri="bean:xmlProcessor" />
I don' t understand the reason for this error because of I made an annotated class, as described in JB421 and put the class in the package com.redhat.training.model.
Does somebody already have this problem?
A collaborative learning environment, enabling open source skill development.