question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid property 'dynamoDBMapperConfig' of bean class [org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactoryBean] - Release 5.1.1

See original GitHub issue

Many users still have this issue: (see #230 #237)

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'dynamoDBMapperConfig' of bean class [org.socialsignin.spring.data.dynamodb.repository.support.DynamoDBRepositoryFactoryBean]: Bean property 'dynamoDBMapperConfig' 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.createNotWritablePropertyException(BeanWrapperImpl.java:243)
	at org.springframework.beans.AbstractNestablePropertyAccessor.processLocalProperty(AbstractNestablePropertyAccessor.java:426)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:278)
	at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:266)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:97)
	at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:77)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1714)
	... 31 common frames omitted

I read in your comment in issue #235 (https://github.com/derjust/spring-data-dynamodb/issues/235#issuecomment-471334275_) that its fixed in master and is part of 5.1.1

Please some maintainer, please release 5.1.1 because many of us are blocked and need this fix. Also see Pullrequest https://github.com/derjust/spring-data-dynamodb/pull/238


This one is fixed in master and will be part of 5.1.1

_Originally posted by @derjust in https://github.com/derjust/spring-data-dynamodb/issues/235#issuecomment-471334275_

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
boostchickencommented, Jun 7, 2019

https://github.com/derjust/spring-data-dynamodb/wiki/Access-to-releases

Go grab the snapshot, that’s what I am running

0reactions
aauronncommented, Apr 6, 2021

I used @boostchicken 5.2.1 and “@Primary” on “dynamoDBMapper” and “dynamoDBMapperConfig” and solved the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when adding custom DynamoDBMapperConfig bean to ...
A DynamoDBMapperConfig.TableNameOverride object—Instructs the mapper instance to ignore the table name specified by a class's DynamoDBTable ...
Read more >
org.socialsignin.spring.data.dynamodb.repository.config ...
The primary goal of the Spring® Data project is to make it easier to build Spring-powered applications that use data access technologies.
Read more >
Quick Guide to Integrate DynamoDB in Spring Boot - Baeldung
A step by step tutorial on integrating DynamoDB in Spring Boot application using Spring Data DynamoDB.
Read more >
EnableDynamoDBRepositories (Spring Data DynamoDB 5.0 ...
Defaults to DynamoDBRepositoryFactoryBean . Returns: The repository factory bean cleass. Default: org.socialsignin.spring.data.dynamodb.repository ...
Read more >
spring-data-dynamodb - Bountysource
Multiple DynamoDBMapperConfig beans and dynamoDBMapperConfigRef wiring issue $ 0 ... the deprecated class org.springframework.data.repository.core.support.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found