headless environment
public static void main(String[] args) { System.setProperty("java.awt.headless", "false"); SpringApplication.run(SpringBootMain.class, args); }
public static void main(String[] args) { System.setProperty("java.awt.headless", "false"); SpringApplication.run(SpringBootMain.class, args); }