Got it running both in plain Spring Boot and in Wildfly.