简体   繁体   中英

Process finished with exit code 1 Spring Boot Intellij no other logs

I see no logs in my console /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java...

Process finished with exit code 1

public static void main(String[] args) {
        try {
            SpringApplication app = new SpringApplication(YourClass.class);
            app.run(args);
        } catch(Throwable ex) {
            ex.printStackTrace();
        }
}

With this, I was able to see the full error in the logs. Hope this helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM