Due to 3rd party app additional modules to the modules folder.
<module xmlns="urn:jboss:module:1.3" name="com.fasterxml.jackson.core.jackson-annotations">
provided by Wildfly 9 by default in
and the identical module, perhaps with different version, in
$JBOSS_HOME/modules/com/fasterxml/jackson/core/jackson-annotations/main/ provided by 3rd party app.
Which one is used when referencing this module by name? Is this defined?
one directly in modules/ will be loaded first.
see Layered Distributions and Module Path Organization for details, segment "Translation of Filesystem Layout into Module Loading Precedence" talks about this.