0

I'm trying to setup a wildfly swarm project with maven. My structure should look like this:

  • project-build (wildfly swarm should generate here the -swarm.jar file including project-rest and project-ejb)
  • project-rest (own pom.xml)
  • project-ejb (own pom.xml)

I can build the project successfully and deploy the project but I have no access to the rest-interface.

Any idea how to resolve my issue?

user140547
  • 7,750
  • 3
  • 28
  • 80
LAX
  • 13
  • 3
  • Do you have the ApplicationConfig configured? Here an example http://tomee.apache.org/examples-trunk/rest-example-with-application/README.html – Sergio Jun 07 '16 at 08:30
  • @Sergio Wildfly-Swarm doesn't require the ApplicationConfig. The applicationPath ist set to "/" if no ApplicationConfig ist configured. When I paste my source code to the project-build module it works properly. – LAX Jun 07 '16 at 09:21
  • Are there any exceptions in the log? – Ken Jun 26 '16 at 19:25

1 Answers1

0

I resolved my issue using the following project example with wildfly swarm:

https://github.com/hwellmann/wildfly-swarm-example-multi-module

LAX
  • 13
  • 3
  • Links to potential solutions are always welcome, but please add some details for future visitors in case the link is no longer available. – Nikolay Mihaylov Aug 10 '16 at 07:43