Spring boot could not resolve placeholder in string

后端 未结 9 1112
悲哀的现实
悲哀的现实 2020-12-16 14:28

I am running spring-boot on an embedded tomcat server through maven with mvn clean install spring-boot:run. But every time I run it I get this error:

         


        
9条回答
  •  无人及你
    2020-12-16 15:08

    Here I have simplest solution that worked in my case.

    Whether it be from Java command prompt, or VM options from IDE such as eclipse or IntelliJ, try supplying the following:

    -Dspring.profiles.active=
    

    This is alternative to modifying/touching the pom file mentioned above.

提交回复
热议问题