您没有正确读取属性文件。propertySource应该将参数传递为:
file:appclient.properties或
classpath:appclient.properties。将注释更改为:
@PropertySource(value={"classpath:appclient.properties"})但是我不知道您的
PropertiesConfig文件包含什么,因为您也正在导入文件。理想情况下,
@PropertySource应将注释保存在此处。

您没有正确读取属性文件。propertySource应该将参数传递为:
file:appclient.properties或
classpath:appclient.properties。将注释更改为:
@PropertySource(value={"classpath:appclient.properties"})但是我不知道您的
PropertiesConfig文件包含什么,因为您也正在导入文件。理想情况下,
@PropertySource应将注释保存在此处。