org.springframework.beans.factory.BeanCreationException

Error creating bean with name 'searchBasedAdapter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchBasedAdapterImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'searchService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchService' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceIndexImpl' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queryServiceIndexImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceSharedHttpConfigPool' while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean] for bean with name 'queryServiceSharedHttpConfigPool' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]; nested exception is java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean not found from bundle [com.vmware.vim.dataserviceadapters]

Solutions on the web19448

  • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queryServiceIndexImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceSharedHttpConfigPool' while setting constructor
  • via Atlassian JIRA by Michael Heemskerk, 10 months ago
    Error creating bean with name 'pluginPullRequestNotificationListener' defined in URL [bundle://84.0:0/META-INF/spring/atlassian-plugin-context.xml]: Cannot resolve reference to bean 'pullRequestBatchNotificationDao' while setting constructor
  • via Google Groups by Michele Rillo, 6 months ago
    '; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateSessionFactory' defined in URL [bundleentry://189.fwk701854595/META-INF/spring/repository-context.xml]: Invocation of init method
  • Stack trace

    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchBasedAdapter': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchBasedAdapterImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'searchService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchService' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceIndexImpl' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queryServiceIndexImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceSharedHttpConfigPool' while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean] for bean with name 'queryServiceSharedHttpConfigPool' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]; nested exception is java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean not found from bundle [com.vmware.vim.dataserviceadapters] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) 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:589) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:60) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:325) at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85) at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:290) at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:137) at org.eclipse.virgo.kernel.agent.dm.ContextPropagatingTaskExecutor$2.run(ContextPropagatingTaskExecutor.java:95) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchBasedAdapterImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'searchService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchService' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceIndexImpl' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queryServiceIndexImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceSharedHttpConfigPool' while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean] for bean with name 'queryServiceSharedHttpConfigPool' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]; nested exception is java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean not found from bundle [com.vmware.vim.dataserviceadapters] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148) 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.eclipse.gemini.blueprint.service.exporter.support.OsgiServiceFactoryBean.afterPropertiesSet(OsgiServiceFactoryBean.java:198) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452) ... 17 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'searchService' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceIndexImpl' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queryServiceIndexImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceSharedHttpConfigPool' while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean] for bean with name 'queryServiceSharedHttpConfigPool' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]; nested exception is java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean not found from bundle [com.vmware.vim.dataserviceadapters] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:616) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:441) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911) 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.doGetBean(AbstractBeanFactory.java:313) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) ... 31 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queryServiceIndexImpl' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]: Cannot resolve reference to bean 'queryServiceSharedHttpConfigPool' while setting constructor argument; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean] for bean with name 'queryServiceSharedHttpConfigPool' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]; nested exception is java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean not found from bundle [com.vmware.vim.dataserviceadapters] at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148) 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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) ... 41 more Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean] for bean with name 'queryServiceSharedHttpConfigPool' defined in URL [bundleentry://211.fwk1551486100/META-INF/spring/bundle-context.xml]; nested exception is java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean not found from bundle [com.vmware.vim.dataserviceadapters] at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1262) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:433) 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.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) ... 53 more Caused by: java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean not found from bundle [com.vmware.vim.dataserviceadapters] at org.eclipse.gemini.blueprint.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:101) at org.eclipse.gemini.blueprint.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:155) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.springframework.util.ClassUtils.forName(ClassUtils.java:258) at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:417) at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1283) at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1254) ... 59 more Caused by: org.eclipse.virgo.kernel.osgi.framework.ExtendedClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean in KernelBundleClassLoader: [bundle=com.vmware.vim.dataserviceadapters_6.0.0] at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:150) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340) at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212) at org.eclipse.gemini.blueprint.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:97) ... 65 more Caused by: java.lang.ClassNotFoundException: com.vmware.vise.vim.commons.vmomi.vc.VcAwareSharedHttpConfigPoolFactoryBean at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:455) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at org.eclipse.virgo.kernel.userregion.internal.equinox.KernelBundleClassLoader.loadClass(KernelBundleClassLoader.java:146) ... 70 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 months ago
    114 more bugmates