Closed
Description
Tristan Hill opened SPR-13349 and commented
I'm getting this warning on application initialization:
WARN org.springframework.beans.GenericTypeAwarePropertyDescriptor - Invalid JavaBean property 'endpoint' being accessed! Ambiguous write methods found next to actually used [public void com.amazonaws.AmazonWebServiceClient.setEndpoint(java.lang.String) throws java.lang.IllegalArgumentException]: [public void com.amazonaws.AmazonWebServiceClient.setEndpoint(java.lang.String,java.lang.String,java.lang.String)]
The bean configuration is:
<bean class="com.amazonaws.services.s3.AmazonS3Client" id="s3Client">
<constructor-arg index="0" ref="awsDefaultCredentialsProviderChain"/>
<constructor-arg index="1" ref="awsClientConfiguration"/>
<property name="endpoint" value="value"/>
</bean>
Is the method really ambiguous since only a single string parameter is provided as argument?
Affects: 3.2.14
Issue Links:
- Spring inconsistently resolves an overloaded setter method [SPR-4931] #9606 Spring inconsistently resolves an overloaded setter method