我正在使用spring并尝试使用"PropertySourcesPlaceholderConfigurer“从文件系统加载外部属性文件,但是我得到了一个错误,如下所示:
Binding to target org.springframework.boot.autoconfigure.web.ServerProperties@3ec11999 failed:
Property: server.environment
Value: BETA
Reason: Failed to convert property value of type [java.lang.St
在banner.txt的底部,我们有以下内容
Running Spring Boot ${spring-boot.version} on java ${java.version} in environment ${ccic.environ}
一开始就是
Running Spring Boot 2.0.5.RELEASE on java 1.8.0_144 in environment uat
我们今天有点害怕,因为有人注意到上面写着1.8.0_144 for the java.version,但是我们应该运行1.8.0_131。经过进一步的调查,我们可以证实,我们正在运行与1.8.0_131。