org.springframework.beans.factory.BeanCreationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • getting BeanCreationException
    via by Pavan Chaudhari,
  • 技術検証2日目 | 男はロマン
    via by Unknown author,
  • creating hashmap in spring
    via Stack Overflow by user93796
    ,
    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'MyClassName' defined in class path resource [appCtx-sp.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.pav.dit.auth.MyClassName]: Constructor threw exception; nested exception is java.lang.RuntimeException: org.opensaml.saml2.metadata.provider.MetadataProviderException: Metadata provider has not been initialized at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469) at com.manh.spring.ContextLoader.createWebApplicationContext(ContextLoader.java:132) at com.manh.spring.ContextLoader.initWebApplicationContext(ContextLoader.java:66) at com.manh.spring.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:24) at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392) at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown UserUnknown User
    36 times, last one,
    musketyrmusketyr
    1 times, last one,
    batwalrus76batwalrus76
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    254 more bugmates