As part of a web application i need to parse textual content of different incoming files.
This should be quite simple using tika-parsers, but as soon as i try to deploy my webapp
on Wildfly (tested V.8.2.1 and V.10.0.0.RC4) i run into problems.
This is my maven dependency in a very basic webapp:
<groupId>org.apache.tika</groupId>
<artifactId>tika-parsers</artifactId>
<version>1.11</version>
This is the error i get during deployment (manual deployment or using arquillian for testing):
Caused by: java.lang.Exception: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."backend-test.war".WeldStartService" => "org.jboss.msc.service.StartException in service jboss.deployment.unit."backend-test.war".WeldStartService: Failed to start service
Caused by: org.jboss.weld.exceptions.DefinitionException: WELD-000071: Managed bean with a parameterized bean class must be @Dependent: class org.apache.cxf.jaxrs.provider.SourceProvider"}}
I assume there is a dependency conflict, but have no clue on how to avoid it.
beans.xml? jboss-deployment-structure.xml? Disable any wildfly modules?
Regards,
Philipp
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…