Process finished with exit code 1 Spring Boot Intellij

后端 未结 8 1775
我在风中等你
我在风中等你 2021-02-12 23:04

I\'ve received the message "Process finished with exit code 1" when I run my project. I have tried several solutions but no topic is the same error as mine. My project

8条回答
  •  萌比男神i
    2021-02-12 23:43

    You must set logging.level.root to DEBUG and read related logging to find problem. if your app uses application.yml file, add (or edit) this at beginning or end:

    logging:
      level:
        root: DEBUG
    

    if your app uses application.properties, add (or edit) below line:

    logging.level.root: DEBUG
    

    for example, my app uses an undefined property and does not show the problem in common logs, after enabling debug level logging, I got below line in logs:

    Could not find key 'app.services.account.service' in any property source
    

提交回复
热议问题