org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.boot.actuate.autoconfigure.ManagementSecurityAutoConfiguration$ManagementSecurityPropertiesConfiguration] for bean with name 'org.springframework.boot.actuate.autoconfigure.ManagementSecurityAutoConfiguration$ManagementSecurityPropertiesConfiguration' defined in null: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/autoconfigure/security/SecurityPrerequisite

Stack Overflow | Sonam Daultani | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    java.lang.NoClassDefFoundError: org/springframework/boot/autoconfigure/security/SecurityPrerequisite

    Stack Overflow | 7 months ago | Sonam Daultani
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.springframework.boot.actuate.autoconfigure.ManagementSecurityAutoConfiguration$ManagementSecurityPropertiesConfiguration] for bean with name 'org.springframework.boot.actuate.autoconfigure.ManagementSecurityAutoConfiguration$ManagementSecurityPropertiesConfiguration' defined in null: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/springframework/boot/autoconfigure/security/SecurityPrerequisite
  2. 0

    nested exception error java.lang.NoClassDefFoundError

    Stack Overflow | 6 years ago | Jeremy
    org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.sis.artemis.dashboard.statistics.sdis.personnels.service.SdisPersonnelsStatisticsServiceImpl] for bean with name 'sdisPersonnelsStatisticsService' defined in class path resource [resources/sdis-services.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/sis/artemis/dashboard/statistics/sdis/personnels/service/SdisPersonnelsStatisticsService
  3. 0

    Red5 troubles

    Google Groups | 7 years ago | Tanguy CHAPRON
    java.lang.NoClassDefFoundError: org/aopalliance/intercept/ MethodInterceptor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring security implementation

    Google Groups | 1 year ago | New to hippo
    java.lang.NoClassDefFoundError: org/hippoecm/hst/container/valves/AbstractOrderableValve
  6. 0

    R3.0RC2: application won't run in tomcat 5.5

    itracker | 8 years ago | booveman
    java.lang.NoClassDefFoundError: EmptyInterceptor

    29 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. java.lang.NoClassDefFoundError

      org/springframework/boot/autoconfigure/security/SecurityPrerequisite

      at java.lang.ClassLoader.defineClass1()
    2. Java RT
      SecureClassLoader.defineClass
      1. java.lang.ClassLoader.defineClass1(Native Method)[na:1.8.0_102]
      2. java.lang.ClassLoader.defineClass(Unknown Source)[na:1.8.0_102]
      3. java.security.SecureClassLoader.defineClass(Unknown Source)[na:1.8.0_102]
      3 frames
    3. Glassfish Core
      WebappClassLoader.loadClass
      1. org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2479)[catalina.jar:8.0.9]
      2. org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:880)[catalina.jar:8.0.9]
      3. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1294)[catalina.jar:8.0.9]
      4. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1177)[catalina.jar:8.0.9]
      4 frames
    4. Spring Core
      ClassUtils.forName
      1. org.springframework.util.ClassUtils.forName(ClassUtils.java:249)[ClassUtils.class:4.1.6.RELEASE]
      1 frame
    5. Spring Beans
      AbstractBeanFactory.isFactoryBean
      1. org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:395)[AbstractBeanDefinition.class:4.1.6.RELEASE]
      2. org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1349)[AbstractBeanFactory.class:4.1.6.RELEASE]
      3. org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1320)[AbstractBeanFactory.class:4.1.6.RELEASE]
      4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:622)[AbstractAutowireCapableBeanFactory.class:4.1.6.RELEASE]
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:591)[AbstractAutowireCapableBeanFactory.class:4.1.6.RELEASE]
      6. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1397)[AbstractBeanFactory.class:4.1.6.RELEASE]
      7. org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:968)[AbstractBeanFactory.class:4.1.6.RELEASE]
      7 frames
    6. Spring Boot AutoConfigure
      SpringBootCondition.matches
      1. org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanTypeForNonAliasDefinition(BeanTypeRegistry.java:257)[BeanTypeRegistry$OptimizedBeanTypeRegistry.class:1.2.0.RELEASE]
      2. org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.addBeanType(BeanTypeRegistry.java:246)[BeanTypeRegistry$OptimizedBeanTypeRegistry.class:1.2.0.RELEASE]
      3. org.springframework.boot.autoconfigure.condition.BeanTypeRegistry$OptimizedBeanTypeRegistry.getNamesForType(BeanTypeRegistry.java:227)[BeanTypeRegistry$OptimizedBeanTypeRegistry.class:1.2.0.RELEASE]
      4. org.springframework.boot.autoconfigure.condition.OnBeanCondition.collectBeanNamesForType(OnBeanCondition.java:154)[OnBeanCondition.class:1.2.0.RELEASE]
      5. org.springframework.boot.autoconfigure.condition.OnBeanCondition.getBeanNamesForType(OnBeanCondition.java:143)[OnBeanCondition.class:1.2.0.RELEASE]
      6. org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchingBeans(OnBeanCondition.java:115)[OnBeanCondition.class:1.2.0.RELEASE]
      7. org.springframework.boot.autoconfigure.condition.OnBeanCondition.getMatchOutcome(OnBeanCondition.java:90)[OnBeanCondition.class:1.2.0.RELEASE]
      8. org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:45)[SpringBootCondition.class:1.2.0.RELEASE]
      8 frames
    7. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102)[ConditionEvaluator.class:4.1.6.RELEASE]
      2. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForBeanMethod(ConfigurationClassBeanDefinitionReader.java:190)[ConfigurationClassBeanDefinitionReader.class:4.1.6.RELEASE]
      3. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitionsForConfigurationClass(ConfigurationClassBeanDefinitionReader.java:148)[ConfigurationClassBeanDefinitionReader.class:4.1.6.RELEASE]
      4. org.springframework.context.annotation.ConfigurationClassBeanDefinitionReader.loadBeanDefinitions(ConfigurationClassBeanDefinitionReader.java:124)[ConfigurationClassBeanDefinitionReader.class:4.1.6.RELEASE]
      5. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:318)[ConfigurationClassPostProcessor.class:4.1.6.RELEASE]
      6. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239)[ConfigurationClassPostProcessor.class:4.1.6.RELEASE]
      7. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254)[PostProcessorRegistrationDelegate.class:4.1.6.RELEASE]
      8. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94)[PostProcessorRegistrationDelegate.class:4.1.6.RELEASE]
      9. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)[AbstractApplicationContext.class:4.1.6.RELEASE]
      10. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)[AbstractApplicationContext.class:4.1.6.RELEASE]
      10 frames
    8. Spring Boot
      SpringBootServletInitializer.onStartup
      1. org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:109)[EmbeddedWebApplicationContext.class:1.2.0.RELEASE]
      2. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)[SpringApplication.class:1.2.0.RELEASE]
      3. org.springframework.boot.SpringApplication.run(SpringApplication.java:321)[SpringApplication.class:1.2.0.RELEASE]
      4. org.springframework.boot.context.web.SpringBootServletInitializer.run(SpringBootServletInitializer.java:117)[SpringBootServletInitializer.class:1.2.0.RELEASE]
      5. org.springframework.boot.context.web.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:108)[SpringBootServletInitializer.class:1.2.0.RELEASE]
      6. org.springframework.boot.context.web.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:68)[SpringBootServletInitializer.class:1.2.0.RELEASE]
      6 frames
    9. Spring
      SpringServletContainerInitializer.onStartup
      1. org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:175)[SpringServletContainerInitializer.class:4.1.6.RELEASE]
      1 frame
    10. Glassfish Core
      ContainerBase$StartChild.call
      1. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173)[catalina.jar:8.0.9]
      2. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)[catalina.jar:8.0.9]
      3. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)[catalina.jar:8.0.9]
      4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)[catalina.jar:8.0.9]
      4 frames
    11. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)[na:1.8.0_102]
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.8.0_102]
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.8.0_102]
      4. java.lang.Thread.run(Unknown Source)[na:1.8.0_102]
      4 frames