ZipException Occurs During Spring Starter Project Creation

Asked 2 years ago, Updated 2 years ago, 95 views

[What I want to do]
Create a new project for spring boot

[Environment]
Eclipse Neon.3 Release (4.6.3RC3)
Plug-in: Spring Tool Suite (STS) for Eclipse 3.8.3 RELEASE, Gradle IDE Pack 3.8.x + 1.0.x

[Procedure]
Eclipse:Select New→Spring Starter Project
Type: Gradle(STS)
Packaging: Jar
Java Version: 1.8
Language:Java
Press Next
Spring Boot Version: 1.5.2
Choose JPA, PostgreSQL, Thymeleaf, Web
Press Finish

[Error indication]
The Problem Occurred dialog appears.

Import Getting Started Content has encountered a problem.
ZipException: error in opening zip file

Learn more
ZipException: error in opening zip file
java.lang.reflect.InvocationTargetException

According to the error message, the zip file could not be opened and the error occurred.
It seems that there is also a zip-related tool in the Grade plug-in, so there should be no problem
I searched the message, but I couldn't find a specific answer.

Is it a configuration issue?

spring-boot

2022-09-30 21:22

1 Answers

Self-resolved.

I deleted .gradle from the home directory and re-run the project creation and it worked.
Well, I downloaded the library on my own around here in gradle, and in some cases it might conflict.
I don't like getting errors like this time.


2022-09-30 21:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.