As mentioned here, I am having a heck of a time getting my small Spring-Boot project to deploy \"correctly\" to Glassfish. It runs fine using the embedded Tomcat, but once
I had this problem with Payara 5, I understand the problem became from Glassfish.
Versions:
The solution worked for me:
I added this dependency in the pom.xml.
org.springframework.boot
spring-boot-starter-batch
2.1.4.RELEASE
My glassfish-web configuration:
Keep a copy of the generated servlet class' java code.
/micuenta-api