set gradle.properties:
appServer=
executable=false
tomcatVersion=
build.gradle has
implementation "org.apereo.cas:cas-server-webapp:${project.'cas.version'}"
included jboss-deployment-sturcture.xml file in src/main/webapp/WEB-INF with
<jboss-deployment-structure>
<deployment>
<dependencies>
<module name="jdk.unsupported" />
</dependencies>
</deployment>
</jboss-deployment-structure>
gradlew clean build, then deploy war file to wildfly. Get all sorts of errors:
Sorry for the long log file attached.