org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accountSaltAction': Unsatisfied dependency expressed through field 'accountSaltDAO'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountSaltDAO': Invocation of init method failed; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property delete found for type AccountSalt!

GitHub | jinenzai | 4 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rp , rafael and poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    Spring expects that the EntityManagerFactory has to be called "entityManagerFactory". It uses convention over configuration to make it easier to use.
  2. 0
    samebug tip
    Check Servers Launch Configuration in Eclipse. See the details below.
  3. 0
    samebug tip
    You could be missing an annotation (@Service or @Component) or a definition in the xml. Also, look if the class where your implementation is located is properly scanned. (add this as source: https://goo.gl/PLJZGJ)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to create a custom method using findBy prefix in springJPA

    Stack Overflow | 3 months ago | kittu
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'topics': Unsatisfied dependency expressed through field 'topicService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'topicServiceImplementation': Unsatisfied dependency expressed through field 'topicRepository'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'topicRepository': Invocation of init method failed; nested exception is org.springframework.data.mapping.PropertyReferenceException: No property topic found for type TopicBean!
  6. 0
    samebug tip
    Add slf4j dependency to your pom.xml
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.data.mapping.PropertyReferenceException

    No property delete found for type AccountSalt!

    at org.springframework.data.mapping.PropertyPath.<init>()
  2. Spring Data Core
    PartTree.<init>
    1. org.springframework.data.mapping.PropertyPath.<init>(PropertyPath.java:77)[spring-data-commons-2.0.0.M1.jar:na]
    2. org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:329)[spring-data-commons-2.0.0.M1.jar:na]
    3. org.springframework.data.mapping.PropertyPath.create(PropertyPath.java:309)[spring-data-commons-2.0.0.M1.jar:na]
    4. org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:272)[spring-data-commons-2.0.0.M1.jar:na]
    5. org.springframework.data.mapping.PropertyPath.from(PropertyPath.java:243)[spring-data-commons-2.0.0.M1.jar:na]
    6. org.springframework.data.repository.query.parser.Part.<init>(Part.java:76)[spring-data-commons-2.0.0.M1.jar:na]
    7. org.springframework.data.repository.query.parser.PartTree$OrPart.<init>(PartTree.java:247)[spring-data-commons-2.0.0.M1.jar:na]
    8. org.springframework.data.repository.query.parser.PartTree$Predicate.buildTree(PartTree.java:398)[spring-data-commons-2.0.0.M1.jar:na]
    9. org.springframework.data.repository.query.parser.PartTree$Predicate.<init>(PartTree.java:378)[spring-data-commons-2.0.0.M1.jar:na]
    10. org.springframework.data.repository.query.parser.PartTree.<init>(PartTree.java:86)[spring-data-commons-2.0.0.M1.jar:na]
    10 frames
  3. Spring Data JPA
    JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery
    1. org.springframework.data.jpa.repository.query.PartTreeJpaQuery.<init>(PartTreeJpaQuery.java:63)[spring-data-jpa-2.0.0.M1.jar:na]
    2. org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:103)[spring-data-jpa-2.0.0.M1.jar:na]
    3. org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$CreateIfNotFoundQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:214)[spring-data-jpa-2.0.0.M1.jar:na]
    4. org.springframework.data.jpa.repository.query.JpaQueryLookupStrategy$AbstractQueryLookupStrategy.resolveQuery(JpaQueryLookupStrategy.java:77)[spring-data-jpa-2.0.0.M1.jar:na]
    4 frames
  4. Spring Data Core
    RepositoryFactoryBeanSupport.afterPropertiesSet
    1. org.springframework.data.repository.core.support.RepositoryFactorySupport$QueryExecutorMethodInterceptor.<init>(RepositoryFactorySupport.java:435)[spring-data-commons-2.0.0.M1.jar:na]
    2. org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:223)[spring-data-commons-2.0.0.M1.jar:na]
    3. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.initAndReturn(RepositoryFactoryBeanSupport.java:266)[spring-data-commons-2.0.0.M1.jar:na]
    4. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:252)[spring-data-commons-2.0.0.M1.jar:na]
    4 frames
  5. Spring Data JPA
    JpaRepositoryFactoryBean.afterPropertiesSet
    1. org.springframework.data.jpa.repository.support.JpaRepositoryFactoryBean.afterPropertiesSet(JpaRepositoryFactoryBean.java:92)[spring-data-jpa-2.0.0.M1.jar:na]
    1 frame
  6. Spring Beans
    DefaultListableBeanFactory.preInstantiateSingletons
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1669)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1606)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:569)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:484)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    9. org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:249)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    10. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1128)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1056)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    12. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:570)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    13. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    14. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:358)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1246)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:567)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    17. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:484)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    18. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    19. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    20. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    21. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    22. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:751)[spring-beans-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    22 frames
  7. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:865)[spring-context-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)[spring-context-5.0.0.BUILD-20170103.205305-536.jar:5.0.0.BUILD-SNAPSHOT]
    2 frames
  8. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:736)[spring-boot-2.0.0.BUILD-20170103.214942-250.jar:2.0.0.BUILD-SNAPSHOT]
    2. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)[spring-boot-2.0.0.BUILD-20170103.214942-250.jar:2.0.0.BUILD-SNAPSHOT]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-2.0.0.BUILD-20170103.214942-250.jar:2.0.0.BUILD-SNAPSHOT]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1161)[spring-boot-2.0.0.BUILD-20170103.214942-250.jar:2.0.0.BUILD-SNAPSHOT]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1150)[spring-boot-2.0.0.BUILD-20170103.214942-250.jar:2.0.0.BUILD-SNAPSHOT]
    5 frames
  9. com.jez
    JezApplication.main
    1. com.jez.JezApplication.main(JezApplication.java:20)[classes/:na]
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_40]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_40]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_40]
    4. java.lang.reflect.Method.invoke(Method.java:497)[na:1.8.0_40]
    4 frames
  11. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)[idea_rt.jar:na]
    1 frame