-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle Build Fails #9567
Comments
@bensiegler are you still seeing build failures? If so, what are your OS and JDK version so I can try to reproduce? |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
I am encountering this problem when running Gradle task in Intellij IDEA. OS: Windows 10 $ ver
Microsoft Windows [Version 10.0.19042.985] JDK: AdoptOpenJDK-11.0.11+9 $ <OATH_TO_JAVA>\java.exe -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode) Gradle outputs
My machine has multiple JDKs installed, and when the problem occurred, the |
On my side it was because in the "IDEA built in JDK" path has space character, that's why processbuilder thrown an exception. |
When attempting to build the gradle project in Intelij, the build fails as JavadocApiPluginITest.groovy throws an exception at line 44. I thought maybe it was a local change I made by accident, but I cloned the project from this repo into a completely new file and the build still failed.
I'll include the gradle output below:
22:14:34: Executing task 'build'...
io.spring.gradle.convention.JavadocApiPluginITest > multimodule api FAILED
org.spockframework.runtime.ConditionFailedWithExceptionError at JavadocApiPluginITest.groovy:44
Caused by: java.io.FileNotFoundException at JavadocApiPluginITest.groovy:44
io.spring.gradle.convention.JacocoPluginITest > check with java plugin FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at JacocoPluginITest.groovy:30
io.spring.gradle.convention.ShowcaseITest > build FAILED
org.gradle.testkit.runner.UnexpectedBuildFailure at ShowcaseITest.groovy:31
47 tests completed, 3 failed
FAILURE: Build failed with an exception.
Execution failed for task ':buildSrc:test'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 54s
A build scan was not published as you have not authenticated with server 'ge.spring.io'.
22:15:29: Task execution finished 'build'.
The text was updated successfully, but these errors were encountered: