See the Wildfly documentation [1]. You can set a dependency in a WAR by specifying the module you want to depend on in the WAR's manifest.mf, e.g.:
Dependencies: org.apache.activemq.artemis Justin [1] https://docs.jboss.org/author/display/WFLY10/Class+Loading+in+WildFly ----- Original Message ----- From: "Justin Bertram" <jbert...@apache.com> To: users@activemq.apache.org Sent: Thursday, March 17, 2016 5:25:42 PM Subject: Re: Artemis REST Interface Installation in Wildfly All the dependencies exist, but you have to set the dependency in the WAR. Did you do that? Justin ----- Original Message ----- From: "amorell" <anthony.mor...@apollo.edu> To: users@activemq.apache.org Sent: Wednesday, March 16, 2016 4:56:06 PM Subject: Artemis REST Interface Installation in Wildfly I am attempting to install the Artemis REST interface into a Wildfly domain and I am running into an issue. I am building the REST WAR file using the example POM supplied in the Artemis documentation "Installing Within Pre-configured Environment". However, when I attempt to install and assign the WAR to the servers, I am getting java.lang.ClassNotFoundException: org.apache.activemq.artemis.api.core.client.ServerLocator. I was under the impression all of the necessary dependencies for Artemis core were already part of Wildfly. I have messaging configured on my servers so I know it is there and running. Any help/guidance would be appreciated. Thanks, Tony -- View this message in context: http://activemq.2283324.n4.nabble.com/Artemis-REST-Interface-Installation-in-Wildfly-tp4709542.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.