this is the error i get when i try to create javaFX project.first i was facing problem with JAVA_HOME(which i fixed) now this
-
Executing task: “”c:UsersUser-name.vscodeextensionsvscjava.vscode-maven-0.44.0resourcesmaven-wrappermvnw.cmd” org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate -DarchetypeArtifactId=”javafx-archetype-fxml” -DarchetypeGroupId=”org.openjfx” -DarchetypeVersion=”RELEASE” -DgroupId=”com.example” -DartifactId=”demo” -DoutputDirectory=”c:UsersUser-nameDesktopJavaProject””
Exception in thread “main” java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1649)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1657)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1495)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1458)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:724)
at java.base/java.util.zip.ZipFile.(ZipFile.java:251)
at java.base/java.util.zip.ZipFile.(ZipFile.java:180)
at java.base/java.util.zip.ZipFile.(ZipFile.java:194)
at org.apache.maven.wrapper.Installer.unzip(Installer.java:169)
at org.apache.maven.wrapper.Installer.createDist(Installer.java:86)
at org.apache.maven.wrapper.WrapperExecutor.execute(WrapperExecutor.java:121)
at org.apache.maven.wrapper.MavenWrapperMain.main(MavenWrapperMain.java:61)
tanvir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.