1、解决的办法一,但是会存在其他问题
报出新的问题
Binding to target org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'jdbc' to com.iwhalecloud.bss.litchi.database.config.JdbcProperties failed:
也有可能会有这种问题:提示注入错误
Invalid bean definition with name 'com.iwhalecloud.bassc.rhin.client.IEngineApiRemoteClient' defined in null: Could not resolve placeholder 'lingxi.apiUrl' in value "http://${lingxi.apiUrl}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'lingxi.apiUrl' in value "http://${lingxi.apiUrl}"
2、继续解决
在workspace.xml文件中加入下面这句,位置在图片上
<property name="ExpandSpringBootJavaOptionsPanel" value="true" />
参考文档: