org.springframework.beans.NotWritablePropertyException: Invalid property 'autoApproveScopes' of bean class [org.springframework.security.oauth2.provider.client.BaseClientDetails]: Bean property 'autoApproveScopes' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?**

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • tomcat 7 jndi + spring
    via Stack Overflow by user2603633
    ,
  • Setting FlushMode.COMMIT in Spring
    via Stack Overflow by Mr.Lanhellas
    ,
    • org.springframework.beans.NotWritablePropertyException: Invalid property 'autoApproveScopes' of bean class [org.springframework.security.oauth2.provider.client.BaseClientDetails]: Bean property 'autoApproveScopes' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?** at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:1042)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:902)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:57)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1420)[spring-beans-3.2.3.RELEASE.jar:3.2.3.RELEASE]

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    24 more bugmates