I have a maven application that works fine in wildfly 8.2, but when Ideployed it in wildfly 10 this error happened:
[2016-02-21 11:22:08,411] Artifact Sarama
add dependency dom4j to pom with scope provided
dom4j dom4j 1.6.1 provided