This is what I get when I start my SpringBoot application, built using Java Swing.
Exception encountered during context initialization. Constructor threw Exception java.awt.HeadlessException
Adding the headless JVM param would resolve this problem
-Djava.awt.headless=false