Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
matteogrolla opened this issue Jan 21, 2020 · 0 comments
Open

Comments

@matteogrolla
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant