Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

grails 4 - amazonSNSService - us-east-1 (default) region fails - no signature or method appliable for argument types #102

Closed
pwilcox opened this issue Aug 7, 2019 · 0 comments · Fixed by #103

Comments

@pwilcox
Copy link

pwilcox commented Aug 7, 2019

grails 4 --

leaving region as default, or sending in us-east-1 for me results in the error below. As i read it its saying it wants the argument to be of type "Regions" rather than "Region"

Caused by: groovy.lang.MissingMethodException: No signature of method: com.amazonaws.services.sns.AmazonSNSClientBuilder.withRegion() is applicable for argument types: (com.amazonaws.regions.Region) values: [us-east-1]
Possible solutions: withRegion(com.amazonaws.regions.Regions), withRegion(java.lang.String), getRegion(), setRegion(java.lang.String)
at grails.plugin.awssdk.sns.AmazonSNSService.afterPropertiesSet(AmazonSNSService.groovy:34)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1837)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1774)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant