<!-- init property files -->
<bean id="propertyConfigurer"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="ignoreUnresolvablePlaceholders" value="true" />
<property name="locations">
<list>
<value>classpath*:default.properties</value>
</list>
</property>
<bean id="srsClient" class="org.apache.cxf.jaxrs.client.WebClient" factory-method="create">
<constructor-arg type="java.lang.String" value="${srs_api}"/>
<constructor-arg type="boolean" value="true" />
</bean>
value="${srs_api}"/>
default.properties内容
srs_api=http://localhost:8080/杀杀杀/services/
来源:热心网友的百度知道