$ mvn clean package && java -jar target/hello_microprofile_world-thorntail.jar
or if you choosed the OpenLiberty, run the following command:
$ mvn clean package && java -jar target/hello_microprofile_world.jar
If you choosed another version then the following commands are used for the following servers:
Payara:
$ mvn clean package && java -jar target/hello_microprofile_world-microbundle.jar
$ mvn clean package && java -jar target/hello_microprofile_world-exec.jar
$ mvn clean package && java -jar target/hello_microprofile_world.jar
You find the test page at http://localhost:8181/index.html
Calling RestController
http://localhost:8181/demo/data/hello
Source: kodnito.com
Sem comentários:
Enviar um comentário