org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EmailService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'java:jboss/mail/dfs' is defined

Stack Overflow | boycod3 | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    jboss.7.1.1 email server no bean found exception while running

    Stack Overflow | 10 months ago | boycod3
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'EmailService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'java:jboss/mail/dfs' is defined
  2. 0

    ConnectionPooling Configuration while using Spring jdbcTemplate

    Stack Overflow | 4 years ago | SGB
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'classUniqueIdDaoImpl_v2': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jdbcTemplateDB2' defined in class path resource [META-INF/spring/applicationContext-db2.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'com.ibm.db2.jcc.DB2ConnectionPoolDataSource' to required type 'javax.sql.DataSource' for property 'dataSource'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [com.ibm.db2.jcc.DB2ConnectionPoolDataSource] to required type [javax.sql.DataSource] for property 'dataSource': no matching editors or conversion strategy found
  3. 0

    Wrapper的deal with get/set method的Bug

    GitHub | 12 months ago | 491311184
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customizedPortalController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customizedPortalService': FactoryBean threw exception on object creation; nested exception is java.lang.RuntimeException: [source error] getPropertyValue (Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; in com.alibaba.dubbo.common.bytecode.Wrapper26: inconsistent stack height -1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error creating bean with name blCheckoutService - Injection of resource dependencies failed

    GitHub | 3 years ago | gowthamgutha
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blCheckoutService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'blCheckoutWorkflow' defined in resource loaded from byte array: Cannot create inner bean 'com.mycompany.core.email.service.ConfirmationEmailActivity#ad2816' of type [com.mycompany.core.email.service.ConfirmationEmailActivity] while setting bean property 'activities' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.mycompany.core.email.service.ConfirmationEmailActivity#ad2816': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'myEmailService' is defined
  6. 0

    Spring Data Solr with Solr 4.1 multicores

    Stack Overflow | 4 years ago | rupanjan
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoryMembershipIndexService' defined in file [/home/rupanjan/Installations/apache-tomcat-7.0.39/webapps/pegonwheels-server/WEB-INF/classes/net/pegonwheels/spring/datasolr/domain/service/RepositoryMembershipIndexService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [net.pegonwheels.spring.datasolr.domain.service.RepositoryMembershipIndexService]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this argument is required; it must not be null

    5 unregistered visitors
    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.beans.factory.BeanCreationException

      Error creating bean with name 'EmailService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'java:jboss/mail/dfs' is defined

      at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues()
    2. Spring Context
      CommonAnnotationBeanPostProcessor.postProcessPropertyValues
      1. org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:307)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame
    3. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1106)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      8. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)[spring-beans-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      8 frames
    4. Spring Context
      AbstractApplicationContext.finishBeanFactoryInitialization
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)[spring-context-3.1.2.RELEASE.jar:3.1.2.RELEASE]
      1 frame