0%

deploy springboot to external container(JBoss)

Wildfly: 18.0.1.Final

JDK: 11.0.2

Gradle: 5.6.2

Web: Webflux

Source Code

create springboot demo project by initializer

1569844794129

1569844973320

1569845032989

1569845140007

1569846771715

write a test case

1569846460212

build package

1570622045669

deploy it to JBoss

You can put boot.war to $JBOSS_HOME/standalone/deployments/, then run $JBOSS_HOME/bin/standalone.bat by administrator.

https://localhost:8443/boot/

http://localhost:8080/boot/

It will output hello world, springboot.