Skip to content

Instantly share code, notes, and snippets.

@brunoborges
Created April 13, 2015 21:33
Show Gist options
  • Save brunoborges/110af2969f2c2be7e288 to your computer and use it in GitHub Desktop.
Save brunoborges/110af2969f2c2be7e288 to your computer and use it in GitHub Desktop.
bruno@latitude: maven $> mvn.js -- samples/springboot/boot.mvn
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building nashorn-maven-temp-artifact 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-dependency-plugin:2.8:go-offline (default-cli) > :resolve-plugins @ nashorn-maven-temp-artifact >>>
[INFO]
[INFO] --- maven-dependency-plugin:2.8:resolve-plugins (resolve-plugins) @ nashorn-maven-temp-artifact ---
[INFO] Plugin Resolved: maven-install-plugin-2.4.jar
[INFO] Plugin Dependency Resolved: maven-plugin-api-2.0.6.jar
[INFO] Plugin Dependency Resolved: maven-project-2.0.6.jar
[INFO] Plugin Dependency Resolved: maven-model-2.0.6.jar
[INFO] Plugin Dependency Resolved: maven-artifact-manager-2.0.6.jar
[INFO] Plugin Dependency Resolved: maven-artifact-2.0.6.jar
[INFO] Plugin Dependency Resolved: plexus-utils-3.0.5.jar
[INFO] Plugin Dependency Resolved: plexus-digest-1.0.jar
[INFO] Plugin Resolved: maven-deploy-plugin-2.7.jar
[INFO] Plugin Dependency Resolved: maven-plugin-api-2.0.6.jar
[INFO] Plugin Dependency Resolved: maven-project-2.0.6.jar
[INFO] Plugin Dependency Resolved: maven-model-2.0.6.jar
[INFO] Plugin Dependency Resolved: maven-artifact-2.0.6.jar
[INFO] Plugin Dependency Resolved: plexus-utils-1.5.6.jar
[INFO] Plugin Resolved: maven-site-plugin-3.3.jar
[INFO] Plugin Dependency Resolved: maven-reporting-exec-1.1.jar
[INFO] Plugin Dependency Resolved: maven-core-3.0.jar
[INFO] Plugin Dependency Resolved: maven-model-3.0.jar
[INFO] Plugin Dependency Resolved: maven-plugin-api-3.0.jar
[INFO] Plugin Dependency Resolved: maven-settings-3.0.jar
[INFO] Plugin Dependency Resolved: maven-settings-builder-3.0.jar
[INFO] Plugin Dependency Resolved: maven-archiver-2.4.2.jar
[INFO] Plugin Dependency Resolved: doxia-sink-api-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-logging-api-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-core-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-module-xhtml-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-module-apt-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-module-xdoc-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-module-fml-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-module-markdown-1.4.jar
[INFO] Plugin Dependency Resolved: servlet-api-2.5.jar
[INFO] Plugin Dependency Resolved: doxia-decoration-model-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-site-renderer-1.4.jar
[INFO] Plugin Dependency Resolved: doxia-integration-tools-1.5.jar
[INFO] Plugin Dependency Resolved: wagon-pro
vider-api-1.0.jar
[INFO] Plugin Dependency Resolved: plexus-archiver-1.0.jar
[INFO] Plugin Dependency Resolved: plexus-i18n-1.0-beta-7.jar
[INFO] Plugin Dependency Resolved: velocity-1.5.jar
[INFO] Plugin Dependency Resolved: plexus-velocity-1.1.8.jar
[INFO] Plugin Dependency Resolved: plexus-utils-1.5.10.jar
[INFO] Plugin Dependency Resolved: jetty-6.1.25.jar
[INFO] Plugin Dependency Resolved: jetty-util-6.1.25.jar
[INFO] Plugin Dependency Resolved: commons-lang-2.5.jar
[INFO] Plugin Dependency Resolved: commons-io-1.4.jar
[INFO] Plugin Resolved: maven-clean-plugin-2.5.jar
[INFO] Plugin Dependency Resolved: maven-plugin-api-2.0.6.jar
[INFO] Plugin Dependency Resolved: plexus-utils-3.0.jar
[INFO]
[INFO] <<< maven-dependency-plugin:2.8:go-offline (default-cli) < :resolve-plugins @ nashorn-maven-temp-artifact <<<
[INFO]
[INFO] --- maven-dependency-plugin:2.8:go-offline (default-cli) @ nashorn-maven-temp-artifact ---
[INFO] Resolved: spring-boot-starter-web-1.2.3.RELEASE.jar
[INFO] Resolved: spring-boot-starter-1.2.3.RELEASE.jar
[INFO] Resolved: spring-boot-1.2.3.RELEASE.jar
[INFO] Resolved: spring-boot-autoconfigure-1.2.3.RELEASE.jar
[INFO] Resolved: spring-boot-starter-logging-1.2.3.RELEASE.jar
[INFO] Resolved: jcl-over-slf4j-1.7.11.jar
[INFO] Resolved: slf4j-api-1.7.11.jar
[INFO] Resolved: jul-to-slf4j-1.7.11.jar
[INFO] Resolved: log4j-over-slf4j-1.7.11.jar
[INFO] Resolved: logback-classic-1.1.3.jar
[INFO] Resolved: logback-core-1.1.3.jar
[INFO] Resolved: snakeyaml-1.14.jar
[INFO] Resolved: spring-boot-starter-tomcat-1.2.3.RELEASE.jar
[INFO] Resolved: tomcat-embed-core-8.0.20.jar
[INFO] Resolved: tomcat-embed-el-8.0.20.jar
[INFO] Resolved: tomcat-embed-logging-juli-8.0.20.jar
[INFO] Resolved: tomcat-embed-websocket-8.0.20.jar
[INFO] Resolved: jackson-databind-2.4.5.jar
[INFO] Resolved: jackson-annotations-2.4.0.jar
[INFO] Resolved: jackson-core-2.4.5.jar
[INFO] Resolved: hibernate-validator-5.1.3.Final.jar
[INFO] Resolved: validation-api-1.1.0.Final.jar
[INFO] Resolved: jboss-logging-3.1.3.GA.jar
[INFO] Resolved: classmate-1.0.0.jar
[INFO] Resolved: spring-core-4.1.6.RELEASE.jar
[INFO] Resolved: spring-web-4.1.6.RELEASE.jar
[INFO] Resolved: spring-aop-4.1.6.RELEASE.jar
[INFO] Resolved: aopalliance-1.0.jar
[INFO] Resolved: spring-beans-4.1.6.RELEASE.jar
[INFO] Resolved: spring-context-4.1.6.RELEASE.jar
[INFO] Resolved: spring-webmvc-4.1.6.RELEASE.jar
[INFO] Resolved: spring-expression-4.1.6.RELEASE.jar
[INFO] Resolved: javax.inject-1.jar
[INFO]
[INFO] --- maven-dependency-plugin:2.8:build-classpath (default-cli) @ nashorn-maven-temp-artifact ---
[INFO] Wrote classpath file '/home/bruno/Work/workspaces/nashorn/maven/samples/springboot/boot.js.cp'.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.589 s
[INFO] Finished at: 2015-04-13T18:32:37-03:00
[INFO] Final Memory: 14M/303M
[INFO] ------------------------------------------------------------------------
18:32:38.961 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
18:32:38.964 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
18:32:38.964 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.profiles.active' in [systemProperties]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.profiles.active' in [systemEnvironment]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Could not find key 'spring.profiles.active' in any property source. Returning [null]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.profiles.active' in [systemProperties]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'spring.profiles.active' in [systemEnvironment]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Could not find key 'spring.profiles.active' in any property source. Returning [null]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'banner.location' in [systemProperties]
18:32:38.965 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Searching for key 'banner.location' in [systemEnvironment]
18:32:38.966 [main] DEBUG o.s.c.e.PropertySourcesPropertyResolver - Could not find key 'banner.location' in any property source. Returning [null]
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.2.3.RELEASE)
18:32:38.999 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemProperties] PropertySource with lowest search precedence
18:32:38.999 [main] DEBUG o.s.core.env.StandardEnvironment - Adding [systemEnvironment] PropertySource with lowest search precedence
18:32:38.999 [main] DEBUG o.s.core.env.StandardEnvironment - Initialized StandardEnvironment with PropertySources [systemProperties,systemEnvironment]
18:32:39.017 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
18:32:39.019 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
18:32:39.135 [main] INFO jdk.nashorn.tools.Shell - Starting Shell on latitude (/usr/lib/jvm/java-8-oracle/jre/lib/ext/nashorn.jar started by bruno in /home/bruno/Work/workspaces/nashorn/maven/samples/springboot)
18:32:39.136 [main] DEBUG jdk.nashorn.tools.Shell - Running with Spring Boot v1.2.3.RELEASE, Spring v4.1.6.RELEASE
18:32:39.136 [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:32:39.144 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-250 'javax.annotation.ManagedBean' found and supported for component scanning
18:32:39.144 [main] DEBUG o.s.c.a.ClassPathBeanDefinitionScanner - JSR-330 'javax.inject.Named' annotation found and supported for component scanning
18:32:39.177 [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.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.getCondition(ConditionEvaluator.java:119) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:89) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:81) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:64) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(An
notatedBeanDefinitionReader.java:140) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:127) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register(AnnotatedBeanDefinitionReader.java:122) ~[spring-context-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:159) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:135) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:127) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.load(SpringApplication.java:615) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringAppli
cation.java:314) ~[spring-boot-1.2.3.RELEASE.jar:1.2.3.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]
at jdk.nashorn.tools.Shell.main(Shell.java:112) [nashorn.jar:na]
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.autoconfigure.condition.OnClassCondition
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_4
Exception in thread "main"
0]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_40]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_40]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_40]
at org.springframework.util.ClassUtils.forName(ClassUtils.java:249) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:283) ~[spring-core-4.1.6.RELEASE.jar:4.1.6.RELEASE]
... 21 common frames omitted
java.lang.IllegalArgumentException: Cannot find class [org.springframework.boot.autoconfigure.condition.OnClassCondition]
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:286)
at org.springframework.context.annotation.ConditionEvaluator.getCondition(ConditionEvaluator.java:119)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:89)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:81)
at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:64)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:140)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:127)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register(AnnotatedBeanDefinitionReader.java:122)
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:159)
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:135)
at org.springframework.boot.BeanDefinitionLoader.load(BeanDefinitionLoader.java:127)
at org.springframework.boot.SpringApplication.load(SpringApplication.java:615)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:314)
at jdk.nashorn.internal.scripts.Script$1$boot.:program(/home/bruno/Work/workspaces/nashorn/maven/samples/springboot/boot.js:41)
at jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:636)
at jdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:229)
at jdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:387)
at jdk.nashorn.tools.Shell.apply(Shell.java:394)
at jdk.nashorn.tools.Shell.runScripts(Shell.java:323)
at jdk.nashorn.tools.Shell.run(Shell.java:169)
at jdk.nashorn.tools.Shell.main(Shell.java:133)
at jdk.nashorn.tools.Shell.main(Shell.java:112)
Caused by: java.lang.ClassNotFoundException: org.springframework.boot.autoconfigure.condition.OnClassCondition
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:249)
at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:283)
... 21 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment