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

Solutions on the web

via GitHub by YannCebron
, 2 years ago
Failed to read candidate component class: URL [jar:file:/Users/yann/Desktop/_Spring/___boot/spring-boot-autoconfigure-1.2.0.BUILD-20141202.095010-420.jar!/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration$WebMvcSecurityConfigurationConditions$DefaultWebMvcSecurityConfiguration.class]; nested exception is java.lang.NullPointerException
via Spring JIRA by Andy Wilkinson, 1 year ago
Failed to read candidate component class: URL [jar:file:/Users/yann/Desktop/_Spring/___boot/spring-boot-autoconfigure-1.2.0.BUILD-20141202.095010-420.jar!/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration$WebMvcSecurityConfigurationConditions$DefaultWebMvcSecurityConfiguration.class]; nested exception is java.lang.NullPointerException
via Spring JIRA by Andy Wilkinson, 1 year ago
Failed to read candidate component class: URL [jar:file:/Users/yann/Desktop/_Spring/___boot/spring-boot-autoconfigure-1.2.0.BUILD-20141202.095010-420.jar!/org/springframework/boot/autoconfigure/security/SpringBootWebSecurityConfiguration$WebMvcSecurityConfigurationConditions$DefaultWebMvcSecurityConfiguration.class]; nested exception is java.lang.NullPointerException
via Stack Overflow by OUN Ash
, 2 months ago
Failed to read candidate component class: URL [jar:file:/C:/Users/Asus/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.6/tomcat-embed-core-8.5.6.jar!/javax/annotation/Generated.class]; nested exception is java.util.zip.ZipException: invalid LOC header
via Stack Overflow by Natraj
, 1 year ago
Failed to read candidate component class: URL [jar:file:/C:/apache-maven- 3.3.9/repo/org/springframework/boot/spring-boot-autoconfigure/1.3.5.RELEASE/spring-boot-autoconfigure-1.3.5.RELEASE.jar!/org/springframework/boot/autoconfigure/jdbc
via Stack Overflow by ligq
, 1 year ago
Failed to read candidate component class: file [D:\stsworkspace\loving-message-services\user-location-rest\bin\com\changhongit\locations\config\CassandraConfig.class]; nested exception is java.lang.annotation.AnnotationFormatError: Invalid default
java.lang.NullPointerException: 	at org.springframework.core.type.classreading.AnnotationAttributesReadingVisitor.doVisitEnd(AnnotationAttributesReadingVisitor.java:75)	at org.springframework.core.type.classreading.RecursiveAnnotationAttributesVisitor.visitEnd(RecursiveAnnotationAttributesVisitor.java:48)	at org.springframework.asm.ClassReader.readAnnotationValues(ClassReader.java:1789)	at org.springframework.asm.ClassReader.accept(ClassReader.java:642)	at org.springframework.asm.ClassReader.accept(ClassReader.java:508)	at org.springframework.core.type.classreading.SimpleMetadataReader.(SimpleMetadataReader.java:64)	at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:98)	at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:102)	at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:279)	at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:248)	at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:140)	at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:262)	at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:226)	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:193)	at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:163)	at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:306)	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:239)	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:254)	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:94)	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:606)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:462)	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:691)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:321)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:961)	at org.springframework.boot.SpringApplication.run(SpringApplication.java:950)	at MySpringApplication.main(MySpringApplication.java:18)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:483)	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)