headless environment

笑~笑 / 2024-02-19 / 原文

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