org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'enableDefaultTransactions' of bean class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]: Bean property 'enableDefaultTransactions' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Hons

Add slf4j dependency to your pom.xml

,
via playframework.com by Unknown author

Add guice to the dependencies.

libraryDependencies += guice

Solutions on the web

via Stack Overflow by Unknown author, 2 years ago
Error creating bean with name 'InitDbService': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.app.flight.repo.RoleRepository
via GitHub by msuchard
, 2 years ago
'(inner bean)#e27ba81' of type [org.springframework.orm.jpa.SharedEntityManagerCreator] while setting bean property 'entityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner
via cnblogs.com by Unknown author, 10 months ago
to bean 'sqlSessionFactory' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [mybatis
via Stack Overflow by user1540676
, 2 years ago
: Error creating bean with name 'jmsSaidaTemplateEventosSNCore' defined in class path resource [spring-api-jms.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'enableDefaultTransactions' of bean class [org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean]: Bean property 'enableDefaultTransactions' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?

Users with the same issue

4 times, 2 days ago
37 times, 6 months ago
2 times, 1 year ago
11 times, 1 year ago
2 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.