java - JDK fails to start up in intellij with gradle on a spring boot app -
i run on osx el capitan web service uses spring boot 1.3.2 release
app developed in intellij latest nightly build version 145.970
, using latest jdk 1.8.0_92-b14
, gradle version 2.13
the app used bootstrap fine gradle bootrun
, stopped running , message in both terminal , idea terminal:
gradle bootrun applying lego release plugin incremental java compilation incubating feature. :compilejava up-to-date :processresources up-to-date :classes up-to-date :findmainclass :bootrun objc[2323]: class javalaunchhelper implemented in both /library/java/javavirtualmachines/jdk1.8.0_92.jdk/contents/home/bin/java , /library/java/javavirtualmachines/jdk1.8.0_92.jdk/contents/home/jre/lib/libinstrument.dylib. 1 of 2 used. 1 undefined. info 2016-05-09t10:43:25,976 l.application main initializing application :bootrun failed failure: build failed exception. * went wrong: execution failed task ':bootrun'. > process 'command '/library/java/javavirtualmachines/jdk1.8.0_92.jdk/contents/home/bin/java'' finished non-zero exit value 1
and here stack trace
* exception is: org.gradle.api.tasks.taskexecutionexception: execution failed task ':bootrun'. @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.executeactions(executeactionstaskexecuter.java:69) @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.execute(executeactionstaskexecuter.java:46) @ org.gradle.api.internal.tasks.execution.postexecutionanalysistaskexecuter.execute(postexecutionanalysistaskexecuter.java:35) @ org.gradle.api.internal.tasks.execution.skipuptodatetaskexecuter.execute(skipuptodatetaskexecuter.java:64) @ org.gradle.api.internal.tasks.execution.validatingtaskexecuter.execute(validatingtaskexecuter.java:58) @ org.gradle.api.internal.tasks.execution.skipemptysourcefilestaskexecuter.execute(skipemptysourcefilestaskexecuter.java:52) @ org.gradle.api.internal.tasks.execution.skiptaskwithnoactionsexecuter.execute(skiptaskwithnoactionsexecuter.java:52) @ org.gradle.api.internal.tasks.execution.skiponlyiftaskexecuter.execute(skiponlyiftaskexecuter.java:53) @ org.gradle.api.internal.tasks.execution.executeatmostoncetaskexecuter.execute(executeatmostoncetaskexecuter.java:43) @ org.gradle.execution.taskgraph.defaulttaskgraphexecuter$eventfiringtaskworker.execute(defaulttaskgraphexecuter.java:203) @ org.gradle.execution.taskgraph.defaulttaskgraphexecuter$eventfiringtaskworker.execute(defaulttaskgraphexecuter.java:185) @ org.gradle.execution.taskgraph.abstracttaskplanexecutor$taskexecutorworker.processtask(abstracttaskplanexecutor.java:62) @ org.gradle.execution.taskgraph.abstracttaskplanexecutor$taskexecutorworker.run(abstracttaskplanexecutor.java:50) @ org.gradle.execution.taskgraph.defaulttaskplanexecutor.process(defaulttaskplanexecutor.java:25) @ org.gradle.execution.taskgraph.defaulttaskgraphexecuter.execute(defaulttaskgraphexecuter.java:110) @ org.gradle.execution.selectedtaskexecutionaction.execute(selectedtaskexecutionaction.java:37) @ org.gradle.execution.defaultbuildexecuter.execute(defaultbuildexecuter.java:37) @ org.gradle.execution.defaultbuildexecuter.access$000(defaultbuildexecuter.java:23) @ org.gradle.execution.defaultbuildexecuter$1.proceed(defaultbuildexecuter.java:43) @ org.gradle.execution.dryrunbuildexecutionaction.execute(dryrunbuildexecutionaction.java:32) @ org.gradle.execution.defaultbuildexecuter.execute(defaultbuildexecuter.java:37) @ org.gradle.execution.defaultbuildexecuter.execute(defaultbuildexecuter.java:30) @ org.gradle.initialization.defaultgradlelauncher$4.run(defaultgradlelauncher.java:158) @ org.gradle.internal.factories$1.create(factories.java:22) @ org.gradle.internal.progress.defaultbuildoperationexecutor.run(defaultbuildoperationexecutor.java:90) @ org.gradle.internal.progress.defaultbuildoperationexecutor.run(defaultbuildoperationexecutor.java:52) @ org.gradle.initialization.defaultgradlelauncher.dobuildstages(defaultgradlelauncher.java:155) @ org.gradle.initialization.defaultgradlelauncher.access$200(defaultgradlelauncher.java:36) @ org.gradle.initialization.defaultgradlelauncher$1.create(defaultgradlelauncher.java:103) @ org.gradle.initialization.defaultgradlelauncher$1.create(defaultgradlelauncher.java:97) @ org.gradle.internal.progress.defaultbuildoperationexecutor.run(defaultbuildoperationexecutor.java:90) @ org.gradle.internal.progress.defaultbuildoperationexecutor.run(defaultbuildoperationexecutor.java:62) @ org.gradle.initialization.defaultgradlelauncher.dobuild(defaultgradlelauncher.java:97) @ org.gradle.initialization.defaultgradlelauncher.run(defaultgradlelauncher.java:86) @ org.gradle.launcher.exec.inprocessbuildactionexecuter$defaultbuildcontroller.run(inprocessbuildactionexecuter.java:102) @ org.gradle.tooling.internal.provider.executebuildactionrunner.run(executebuildactionrunner.java:28) @ org.gradle.launcher.exec.chainingbuildactionrunner.run(chainingbuildactionrunner.java:35) @ org.gradle.launcher.exec.inprocessbuildactionexecuter.execute(inprocessbuildactionexecuter.java:47) @ org.gradle.launcher.exec.inprocessbuildactionexecuter.execute(inprocessbuildactionexecuter.java:32) @ org.gradle.launcher.exec.continuousbuildactionexecuter.execute(continuousbuildactionexecuter.java:77) @ org.gradle.launcher.exec.continuousbuildactionexecuter.execute(continuousbuildactionexecuter.java:47) @ org.gradle.launcher.exec.daemonusagesuggestingbuildactionexecuter.execute(daemonusagesuggestingbuildactionexecuter.java:51) @ org.gradle.launcher.exec.daemonusagesuggestingbuildactionexecuter.execute(daemonusagesuggestingbuildactionexecuter.java:28) @ org.gradle.launcher.cli.runbuildaction.run(runbuildaction.java:43) @ org.gradle.internal.actions$runnableactionadapter.execute(actions.java:170) @ org.gradle.launcher.cli.commandlineactionfactory$parseandbuildaction.execute(commandlineactionfactory.java:237) @ org.gradle.launcher.cli.commandlineactionfactory$parseandbuildaction.execute(commandlineactionfactory.java:210) @ org.gradle.launcher.cli.javaruntimevalidationaction.execute(javaruntimevalidationaction.java:35) @ org.gradle.launcher.cli.javaruntimevalidationaction.execute(javaruntimevalidationaction.java:24) @ org.gradle.launcher.cli.commandlineactionfactory$withlogging.execute(commandlineactionfactory.java:206) @ org.gradle.launcher.cli.commandlineactionfactory$withlogging.execute(commandlineactionfactory.java:169) @ org.gradle.launcher.cli.exceptionreportingaction.execute(exceptionreportingaction.java:33) @ org.gradle.launcher.cli.exceptionreportingaction.execute(exceptionreportingaction.java:22) @ org.gradle.launcher.main.doaction(main.java:33) @ org.gradle.launcher.bootstrap.entrypoint.run(entrypoint.java:45) @ org.gradle.launcher.bootstrap.processbootstrap.runnoexit(processbootstrap.java:54) @ org.gradle.launcher.bootstrap.processbootstrap.run(processbootstrap.java:35) @ org.gradle.launcher.gradlemain.main(gradlemain.java:23) caused by: org.gradle.process.internal.execexception: process 'command '/library/java/javavirtualmachines/jdk1.8.0_92.jdk/contents/home/bin/java'' finished non-zero exit value 1 @ org.gradle.process.internal.defaultexechandle$execresultimpl.assertnormalexitvalue(defaultexechandle.java:366) @ org.gradle.process.internal.defaultjavaexecaction.execute(defaultjavaexecaction.java:31) @ org.gradle.api.tasks.javaexec.exec(javaexec.java:60) @ org.springframework.boot.gradle.run.bootruntask.exec(bootruntask.java:63) @ org.gradle.internal.reflect.javamethod.invoke(javamethod.java:75) @ org.gradle.api.internal.project.taskfactory.annotationprocessingtaskfactory$standardtaskaction.doexecute(annotationprocessingtaskfactory.java:226) @ org.gradle.api.internal.project.taskfactory.annotationprocessingtaskfactory$standardtaskaction.execute(annotationprocessingtaskfactory.java:219) @ org.gradle.api.internal.project.taskfactory.annotationprocessingtaskfactory$standardtaskaction.execute(annotationprocessingtaskfactory.java:208) @ org.gradle.api.internal.abstracttask$taskactionwrapper.execute(abstracttask.java:585) @ org.gradle.api.internal.abstracttask$taskactionwrapper.execute(abstracttask.java:568) @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.executeaction(executeactionstaskexecuter.java:80) @ org.gradle.api.internal.tasks.execution.executeactionstaskexecuter.executeactions(executeactionstaskexecuter.java:61) ... 57 more
i have tried re-installing jdk, gradle , intellij without luck.
update: have tried downgrade jdk 1.8.0_45
worked previously, without luck.
Comments
Post a Comment