Skip to content
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

Micronaut Full Stack Wizard Fails with "Failed to create Jar File" #26

Open
scprek opened this issue May 27, 2024 · 1 comment
Open
Assignees

Comments

@scprek
Copy link

scprek commented May 27, 2024

Recreate

I simply created a new project

Screenshot 2024-05-27 at 8 35 34 AM

Ensured Java 17 selected

Screenshot 2024-05-27 at 8 35 48 AM

Error

Screenshot 2024-05-27 at 9 02 35 AM
* What went wrong:
A problem occurred configuring root project 'project'.
> java.util.concurrent.ExecutionException: org.gradle.api.GradleException: Failed to create Jar file /Users/stevecprek/.gradle/caches/jars-9/970b4f5233619a1f72a6b180050ad4b0/jackson-core-2.17.0.jar.

Related Issues:
FasterXML/jackson-core#1185
FasterXML/jackson-core#955

Fix

Upgraded Gradle, I choose 8.7 since it's latest and I've used at work.

-distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
@rjaros
Copy link
Collaborator

rjaros commented May 30, 2024

Confirmed. The wizard generates a project with a gradle wrapper too old for micronaut plugins. I'll release an update soon.

@rjaros rjaros self-assigned this May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants