org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [pl.kaczynski.RestApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport

Stack Overflow | filemonczyk | 2 months ago
  1. 0

    Spring tool suite vs intellij running a spring boot project

    Stack Overflow | 2 months ago | filemonczyk
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [pl.kaczynski.RestApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
  2. 0

    Only mvn spring-boot:run can run application

    GitHub | 8 months ago | caneraydinbey
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [org.infoowl.InternetMovieDatabaseApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer
  3. 0

    Problems with rendering JSP in spring boot

    Stack Overflow | 8 months ago | Elena Chubukina
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [name.valch.SeasonvarApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Can't produce WAR file from Spring Boot application

    Stack Overflow | 7 months ago | Suat Karabacak
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [com.example.ServisServerApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer
  6. 0

    Spring Boot JSP

    Stack Overflow | 7 months ago | nowszy94
    org.springframework.beans.factory.BeanDefinitionStoreException: Failed to parse configuration class [sample.jsp.SampleWebJspApplication]; nested exception is java.lang.IllegalStateException: Failed to introspect annotated methods on class org.springframework.boot.context.web.SpringBootServletInitializer

  1. Andreas Häber 3 times, last 2 weeks ago
  2. linxiaolong 6 times, last 2 months ago
  3. poroszd 2 times, last 3 months ago
  4. aldrinleal 2 times, last 4 months ago
  5. davidvanlaatum 15 times, last 6 months ago
1 more registered users
84 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.ClassNotFoundException

    javax.servlet.ServletContext

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.getDeclaredMethods
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:372)[?:1.8.0_31]
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:361)[?:1.8.0_31]
    3. java.security.AccessController.doPrivileged(Native Method)[?:1.8.0_31]
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:360)[?:1.8.0_31]
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:424)[?:1.8.0_31]
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)[?:1.8.0_31]
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:357)[?:1.8.0_31]
    8. java.lang.Class.getDeclaredMethods0(Native Method)[?:1.8.0_31]
    9. java.lang.Class.privateGetDeclaredMethods(Class.java:2693)[?:1.8.0_31]
    10. java.lang.Class.getDeclaredMethods(Class.java:1967)[?:1.8.0_31]
    10 frames
  3. Spring Core
    StandardAnnotationMetadata.getAnnotatedMethods
    1. org.springframework.core.type.StandardAnnotationMetadata.getAnnotatedMethods(StandardAnnotationMetadata.java:152)[spring-core-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    1 frame
  4. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:301)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    2. org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:237)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    3. org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:537)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    4. org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:286)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    5. org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:237)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    6. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:204)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    7. org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:173)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    8. org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    9. org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    10. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    11. org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    12. org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    13. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523)[spring-context-4.3.2.RELEASE.jar:4.3.2.RELEASE]
    13 frames
  5. Spring Boot
    SpringApplication.run
    1. org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    2. org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    3. org.springframework.boot.SpringApplication.run(SpringApplication.java:313)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    4. org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    5. org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)[spring-boot-1.4.0.RELEASE.jar:1.4.0.RELEASE]
    5 frames
  6. pl.kaczynski
    RestApplication.main
    1. pl.kaczynski.RestApplication.main(RestApplication.java:11)[classes/:?]
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[?:1.8.0_31]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[?:1.8.0_31]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[?:1.8.0_31]
    4. java.lang.reflect.Method.invoke(Method.java:483)[?:1.8.0_31]
    4 frames
  8. IDEA
    AppMain.main
    1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)[idea_rt.jar:?]
    1 frame