Skip to content

unable to make apache cxf and tika work within a custom connector #61

@matteogrolla

Description

@matteogrolla

Hi,
we are unable to make apache cxf and tika work within a custom connector.
We are launching the connector remotely and see that it never reaches fetch or prefetch methods. It dies during initialization, trying to initialize apache cxf

the source of the problem is probably
Caused by: javax.xml.bind.JAXBException: ClassCastException: attempting to cast jar:file:/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/jre/lib/rt.jar!/javax/xml/bind/JAXBContext.class to jar:file:/Users/matteogrolla/Development/alf_sourcesense/bancaditalia/connectors-sdk-resources/java-sdk/connectors/build/plugins/bdi-enterprise-search/lib/jakarta.xml.bind-api-2.3.2.jar!/javax/xml/bind/JAXBContext.class. Please make sure that you are specifying the proper ClassLoader.

here are the relevant excerpts from the logs

 https://docs.google.com/document/d/1g-UA8Ssd6wMU5Xy8tQNfzEQJ5SaJqLWIVBB5ot_k6mA/edit?usp=sharing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions