I’ve got a config that compiles fine but refuses to run.
The problem is, I’m unable to get any information as for why it fails:
``
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:findMainClass
:bootRun
. ____ _ __ _ _
/\ / ’ __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v1.4.1.RELEASE)
:bootRun FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:bootRun’.
Process ‘command ‘/Library/Java/JavaVirtualMachines/jdk1.8.0_102.jdk/Contents/Home/bin/java’’ finished with non-zero exit value 1
- Try:
Run with --info or --debug option to get more log output.
``
using --stacktrace, --info or --debug is not helpful as it gives information about gradle itself.
What I need is to get the output of the starting application.
As I’m a newcomer to Gradle, I don’t really know if this is the standard behaviour (in which case there’s probably a way to get more information) or if this could be a logging library conflict.
I know from previous similar errors that the problem lies in a dependency conflict.
I’m using gradle dependencies --configuration runtime
to get the dep resolution result, but I can’t see anything wrong.
Thanks for any help