Process finished with exit code 1 Spring Boot Intellij

后端 未结 8 1651
我在风中等你
我在风中等你 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条回答
  • 2021-02-12 23:58

    This command did the job for me:

    mvn idea:idea
    
    0 讨论(0)
  • 2021-02-13 00:00

    Its very complicated because mostly it might happen due to missing of properties. In my case the below property not defined in application.properties which cause this issue and its clue less. Hope this will help you

    Due to missing properties like server port or any other placeholder which is defined in any Bean or Component can cause this issue. verify all the properties and placeholders.

      @Value(value = "${resource.path.accountNumbers}")
                private Resource accountNumbers;
        application.properties--verify all properties/placeholders
        resource.path.accountNumbers=classpath:accountNumbers.properties
    
    0 讨论(0)
提交回复
热议问题