Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something is not configured correctly. So check the relevant class is in the classpath. If the class is packaged into a jar, the jar should also in the classpath.

  2. ,

    If JVM throws ClassNotFoundException the class is not found in classpath. It means that something isn't configured correctly. So check whether the class is in the classpath. If this class is packaged to a jar file. Then the jar must also be in the lib path

Solutions on the web

via Atlassian JIRA by Robert Chang [Atlassian], 1 year ago
Failed to find component: Error creating bean with name 'macroMetadataProviders' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#1d98320' of type
via Atlassian JIRA by Robert Chang [Atlassian], 1 year ago
Failed to find component: Error creating bean with name 'macroMetadataProviders' defined in class path resource [x]: Cannot create inner bean 'com.atlassian.confluence.macro.browser.DefaultMacroMetadataProvider#1d98320' of type
via Atlassian JIRA by Jens Schumacher, 1 year ago
Failed to find component: Error creating bean with name 'evaluationManager' defined in class path resource [x]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException
via Atlassian JIRA by Jens Schumacher, 1 year ago
Failed to find component: Error creating bean with name 'evaluationManager' defined in class path resource [x]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptionsException
via Ecosystem JIRA by Roberto Dominguez, 2 years ago
Failed to find component: No bean named 'approvalAccessor' is defined
via atlassian.net by Unknown author, 2 years ago
Failed to find component: No bean named 'approvalAccessor' is defined
java.lang.ClassNotFoundException: org.apache.lucene.search.ConstantScoreRangeQuery	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)	at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)	at org.apache.felix.framework.ExtensionManager$ExtensionManagerModule.getClassByDelegation(ExtensionManager.java:672)	at org.apache.felix.framework.resolver.WireImpl.getClass(WireImpl.java:99)	at org.apache.felix.framework.ModuleImpl.searchImports(ModuleImpl.java:1345)	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:711)	at org.apache.felix.framework.ModuleImpl.access$200(ModuleImpl.java:73)	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1690)	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)	at java.lang.Class.getDeclaredConstructors0(Native Method)	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2404)	at java.lang.Class.getDeclaredConstructors(Class.java:1853)	at com.atlassian.confluence.plugin.descriptor.CustomMacroModuleDescriptor.innerHasBody(CustomMacroModuleDescriptor.java:267)	at com.atlassian.confluence.plugin.descriptor.CustomMacroModuleDescriptor.hasBody(CustomMacroModuleDescriptor.java:251)	at com.atlassian.confluence.macro.V2CompatibilityModuleDescriptorPredicate.matches(V2CompatibilityModuleDescriptorPredicate.java:20)	at com.atlassian.confluence.plugin.CompositeModuleDescriptorPredicate.matches(CompositeModuleDescriptorPredicate.java:33)	at com.atlassian.plugin.manager.DefaultPluginManager$6.apply(DefaultPluginManager.java:1087)	at com.atlassian.plugin.manager.DefaultPluginManager$6.apply(DefaultPluginManager.java:1084)	at com.google.common.collect.Iterators$7.computeNext(Iterators.java:645)	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:141)	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:136)	at com.google.common.collect.Iterators$5.hasNext(Iterators.java:539)	at com.google.common.collect.Lists.newArrayList(Lists.java:138)	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:269)	at com.google.common.collect.ImmutableList.copyOf(ImmutableList.java:230)	at com.atlassian.plugin.manager.DefaultPluginManager.getModuleDescriptors(DefaultPluginManager.java:1054)	at com.atlassian.confluence.plugin.cached.ForwardingPluginAccessor.getModuleDescriptors(ForwardingPluginAccessor.java:68)	at com.atlassian.confluence.plugin.cached.EnabledModuleCachingPluginAccessor.getModuleDescriptors(EnabledModuleCachingPluginAccessor.java:27)	at com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory$2.getDescriptors(ModuleDescriptorCacheFactory.java:54)	at com.atlassian.confluence.plugin.ModuleDescriptorCache.initialize(ModuleDescriptorCache.java:118)	at com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(ModuleDescriptorCacheFactory.java:50)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)	at java.security.AccessController.doPrivileged(Native Method)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)	at java.security.AccessController.doPrivileged(Native Method)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)	at java.security.AccessController.doPrivileged(Native Method)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:238)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)	at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:75)	at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)	at com.atlassian.confluence.plugin.descriptor.SpringComponentModuleDescriptor.enabled(SpringComponentModuleDescriptor.java:122)	at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1661)	at com.atlassian.confluence.plugin.ConfluencePluginManager.notifyModuleEnabled(ConfluencePluginManager.java:135)	at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1453)	at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1420)	at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:875)	at com.atlassian.confluence.plugin.ConfluencePluginManager.addPlugins(ConfluencePluginManager.java:236)	at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:258)	at com.atlassian.confluence.plugin.ConfluencePluginManager.init(ConfluencePluginManager.java:207)	at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:54)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4205)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4704)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601)	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1315)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1061)	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)	at org.apache.catalina.core.StandardService.start(StandardService.java:525)	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:601)	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)