March 2018
Intermediate to advanced
310 pages
7h 10m
English
Let's modify the Main class to the simplest possible form:
package org.packt.swarm.petstore;import org.jboss.logging.Logger;import org.wildfly.swarm.Swarm;public class Main { public static void main(String[] args) throws Exception { new Swarm().start().deploy(); }}
Then, run it with the HTTP port property:
mvn clean wildfly-swarm:run -Dswarm.http.port=12345
Also, we will check in in the browser:

Well, it didn't work. So, as it just turned out, you are not able to do it, sorry.
I am kidding, of course. You can do it, but as it turned out, we have, completely accidentally, made a small mistake in our ...
Read now
Unlock full access