1、新增properties文件
2、修改spring相關xml文件
<context:property-placeholder location="classpath:properties/config.properties" />
spring框架就會去讀取這個properties文件
3、項目中讀取properties中變量
讀取properties中變量key的值
@Value("${key}")
private String key;
<context:property-placeholder location="classpath:properties/config.properties" />
spring框架就會去讀取這個properties文件
讀取properties中變量key的值
@Value("${key}")
private String key;
Power Automate Desktop 安裝完,登錄後老是提示one driver 錯誤