org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.customware.jira.plugins.ext.mercurial.action.ViewMercurialRepositoriesAction': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.customware.jira.plugins.ext.mercurial.action.ViewMercurialRepositoriesAction]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.customware.jira.plugins.ext.mercurial.revisions.RevisionIndexer

Stack Overflow | philpem | 5 months ago
  1. 0

    Need help fixing Jira 6 "Mercurial-Jira" plugin to work on Jira 7

    Stack Overflow | 5 months ago | philpem
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'net.customware.jira.plugins.ext.mercurial.action.ViewMercurialRepositoriesAction': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.customware.jira.plugins.ext.mercurial.action.ViewMercurialRepositoriesAction]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.customware.jira.plugins.ext.mercurial.revisions.RevisionIndexer
  2. 0

    Could not autowire field + Injection of autowired dependencies failed

    Stack Overflow | 3 years ago | Mario
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.Ses sionFactory net.viralpatel.spring3.dao.ContactDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionExcept ion: No matching bean of type [org.hibernate.SessionFactory] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  3. 0

    I am getting "org.springframework.beans.BeanInstantiationException" due to "unresolved compilation problems"

    Stack Overflow | 2 years ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'urlMapping' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registerProfileController' defined in ServletContext resource [/WEB-INF/dispatcher-servlet.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [default.controller.RegisterProfileController]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: The import org.springframework cannot be resolved The import org.springframework cannot be resolved The import org.springframework cannot be resolved The import org.springframework cannot be resolved SimpleFormController cannot be resolved to a type Errors cannot be resolved to a type ModelAndView cannot be resolved to a type BindException cannot be resolved to a type ModelAndView cannot be resolved to a type ModelAndView cannot be resolved to a type The method getFormView() is undefined for the type RegisterProfileController ...
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Could not autowire field + Injection of autowired dependencies failed

    baba.io | 8 months ago
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.hibernate.Ses sionFactory net.viralpatel.spring3.dao.ContactDAOImpl.sessionFactory; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionExcept ion: No matching bean of type [org.hibernate.SessionFactory] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
  6. 0

    Flyway 1.7.0 and Equinox OSGi: Unable to find Script createMetaDataTable.sql

    GitHub | 3 years ago | flyway
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in URL [bundleentry://539.fwk11200622/META-INF/spring/bundle-context.xml]: Invocation of init method failed; nested exception is com.googlecode.flyway.core.exception.FlywayException: Unable to obtain inputstream for resource: com/googlecode/flyway/core/dbsupport/postgresql/createMetaDataTable.sql

  1. tfr 2 times, last 4 months ago
  2. linxiaolong 3 times, last 2 months ago
  3. qavid 24 times, last 5 months ago
7 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 'net.customware.jira.plugins.ext.mercurial.action.ViewMercurialRepositoriesAction': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [net.customware.jira.plugins.ext.mercurial.action.ViewMercurialRepositoriesAction]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: Could not initialize class net.customware.jira.plugins.ext.mercurial.revisions.RevisionIndexer

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean()
  2. Spring Beans
    AbstractAutowireCapableBeanFactory.createBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1101)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:342)
    5 frames