Skip to content

Instantly share code, notes, and snippets.

@brunoborges
Created April 13, 2015 21:10
Show Gist options
  • Save brunoborges/a67fb10cb8c7cef256a5 to your computer and use it in GitHub Desktop.
Save brunoborges/a67fb10cb8c7cef256a5 to your computer and use it in GitHub Desktop.
18:09:57.192 [main] DEBUG o.s.boot.SpringApplication - Loading source class java.lang.Class,class org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration,class org.springframework.boot.autoconfigure.MessageSourceAutoConfiguration,class org.springframework.boot.autoconfigure.PropertyPlaceholderAutoConfiguration,class org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration,class org.springframework.boot.autoconfigure.web.EmbeddedServletContainerAutoConfiguration,class org.springframework.boot.autoconfigure.web.HttpMessageConvertersAutoConfiguration,class org.springframework.boot.autoconfigure.web.MultipartAutoConfiguration,class org.springframework.boot.autoconfigure.web.ServerPropertiesAutoConfiguration,class org.springframework.boot.autoconfigure.web.WebMvcAutoConfiguration
18:09:57.206 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
18:09:57.206 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
18:09:57.245 [main] ERROR o.s.boot.SpringApplication - Application startup failed
java.lang.IllegalArgumentException: Cannot find class [org.springframework.boot.autoconfigure.condition.OnClassCondition]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:286) ~[spring-core-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.getCondition(ConditionEvaluator.java:119) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:89) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:81) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:64) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(An
Exception in thread "main"
notatedBeanDefinitionReader.java:140) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:127) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register(AnnotatedBeanDefinitionReader.java:122) ~[spring-context-4.1.5.RELEASE.jar:4.1.5.RELEASE]
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:159) ~[spring-boot-1.2.2.RELEASE.jar:1.2.2.RELEASE]
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:135) ~[spring-boot-1.2.2.RELEASE.jar:1.2.2.RELEASE]
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:127) ~[spring-boot-1.2.2.RELEASE.jar:1.2.2.RELEASE]
at org.springframework.boot.SpringApplication.load(SpringApplication.java:615) ~[spring-boot-1.2.2.RELEASE.jar:1.2.2.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringAppli
cation.java:314) ~[spring-boot-1.2.2.RELEASE.jar:1.2.2.RELEASE]
at jdk.nashorn.internal.scripts.Script$1$boot.:program(/home/bruno/Work/workspaces/nashorn/maven/samples/springboot/boot.js:41) [boot.js:na]
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:636) [nashorn.jar:na]
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229) [nashorn.jar:na]
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:387) [nashorn.jar:na]
at jdk.nashorn.tools.Shell.apply(Shell.java:394) [nashorn.jar:na]
at jdk.nashorn.tools.Shell.runScripts(Shell.java:323) [nashorn.jar:na]
at jdk.nashorn.tools.Shell.run(Shell.java:169) [nashorn.jar:na]
at jdk.nashorn.tools.Shell.main(Shell.java:133) [nashorn.jar:na]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment