Error Error Reading Cannot Read Zip File
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the maven cannot read zip file workings and policies of this site About Us Learn more about Stack
Cannot Read Zip File Entry
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions error in opening zip file during maven build Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join
Error In Opening Zip File Java
them; it only takes a minute: Sign up maven build failure: cannot read zip file entry up vote -1 down vote favorite i am getting this exception when try to run as-> maven build .m2\repository\commons-logging\commons-logging\1.1\commons-logging-1.1.jar; cannot read zip file entry I've already spent a day on it , searched over google , but no luck any idea how can error in opening zip file jenkins i resolve this thanks maven share|improve this question asked Apr 10 '12 at 7:50 user1226162 56161735 2 Asking same question multiple times is nor good practice . Duplicate : stackoverflow.com/questions/10083482/… –Hardik Mishra Apr 10 '12 at 7:57 add a comment| 4 Answers 4 active oldest votes up vote 7 down vote accepted Try to open the jar with a Zip utility (7Zip ou something else). If it fails, delete the file from your local repository, and retry to run your app. If it fails again, then you may have an issue with your Maven repos config. share|improve this answer answered Apr 10 '12 at 7:52 nico_ekito 17.5k43867 add a comment| up vote 2 down vote If maven downloads corrupt jars (jars that do not open with a zip utility) - try downloading those perticular jars manually and replace them in the appropriate repository folder location. In settings.xml specify the localRepository path explicitly. Using the default settings (i.e. not specifing localRepository) causes maven to download the jars again and again when you do a "clean
Error "cannot read zip file" while
Error In Opening Zip File Ant
perform maven install Topics related to getting started
Error In Opening Zip File Gradle
with the Broadleaf Commerce framework. Moderator: jocanas Post Reply Print view javac error in opening zip file Search Advanced search 3 posts • Page 1 of 1 mandarshas27 Newbie Posts: 4 Joined: Wed Feb 06, 2013 1:28 http://stackoverflow.com/questions/10085045/maven-build-failure-cannot-read-zip-file-entry pm Error "cannot read zip file" while perform maven install Quote Postby mandarshas27 » Wed Feb 06, 2013 1:41 pm Hi, I am just getting started with broadleaf commerce. Trying to setup the project on my laptop by follow http://forum.broadleafcommerce.org/viewtopic.php?t=1626 the Getting Start guideline.Downloaded the project from eclipes but i getting below error when i run maven install. Can anyone help me to clarify with the error i get?"[DEBUG] /Project Development/eclipse-workspace/DemoSite/admin/src/main/java[INFO] Compiling 1 source file to /Project Development/eclipse-workspace/DemoSite/admin/target/admin/WEB-INF/classes[INFO] ------------------------------------------------------------------------[INFO] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] Total time: 5.683s[INFO] Finished at: Wed Feb 06 23:39:28 GMT+05:30 2013[INFO] Final Memory: 20M/81M[INFO] ------------------------------------------------------------------------[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project admin: Compilation failure[ERROR] error: error reading /Users/myname/.m2/repository/org/apache/lucene/lucene-analyzers/3.6.1/lucene-analyzers-3.6.1.jar; cannot read zip file[ERROR] -> [Help 1]org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project admin: Compilation failureerror: error reading /Users/myname/.m2/repository/org/apache/lucene/lucene-analyzers/3.6.1/lucene-analyzers-3.6.1.jar; cannot read zip file at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) at org.apache.mave
Website & Portal Technologies Java EE Development WebSphere App Coding Spring Tools & IDE JavaScript with JSjet REST Web Services Web Development Tools Maven Enablement Eclipse Code Sharing for Slack Live Preview https://www.genuitec.com/forums/topic/all-maven-projects-start-with-failure-cannot-open-zip-file/ Database & Persistence View All RegisterLog In 0 Items Products MyEclipse IDE Secure Delivery Center Webclipse GapDebug WebPad Our Company About Careers Contact Us Community Blog Press Twitter Support Genuitec Advanced http://crunchify.com/cannot-be-read-or-is-not-a-valid-zip-file-how-to-fix-maven-build-path-error-with-corrupted-jar-file/ Support Services Select Page Your Internet Explorer version is not compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close All zip file Maven projects start with failure - cannot open zip file Genuitec :: Driving Development for Leading Organizations › Forums › MyEclipse IDE › Maven for MyEclipse (Maven4MyEclipse) Tagged:In breathing, placement., secretomotor neglect features This topic contains 14 replies, has 4 voices, and was last updated by support-swapna 1 year, 6 months ago. Viewing 15 posts - 1 through 15 (of 15 error in opening total) Author Posts February 27, 2014 at 3:48 pm #347605 Reply trantParticipant I tried to import an existing Maven project using the Import > Maven4MyEclipse > Existing Maven Project command. Once executed, it quickly displays the following error: Description Resource Path Location Type Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-install-plugin:maven-plugin:2.3.1:runtime Cause: error in opening zip file pom.xml /maven line 1 Maven Project Build Lifecycle Mapping Problem I tried creating a brand new Maven4MyEclipse project, and it immediately shows this same error as well. How do I resolve this? I am using separately download Maven 3.1.1 instead of embedded version. It is the only version that even lets me run Maven Install successfully. When I tried doing Maven Install with the embedded version I got a similar zip file type of error: [ERROR] Failed to parse plugin descriptor for org.apache.maven.plugins:maven-install-plugin:2.3.1 (C:\Users\
WordPress All in One Webmaster Plugin Google Adsense Plugin Deals Hire us Contact Advertise We help customers create an effective online presence...Crunchify Core Java and J2EE Tutorials and Tips Cannot be Read or is Not a Valid ZIP file - How to fix ...Cannot be Read or is Not a Valid ZIP file - How to fix Maven Build Path Error with corrupted .jar file Last Updated on 26 May, 2015 by App Shah 3 Comments Yesterday I was setting up my new Macbook Pro 15inch with all my Crunchify Tutorials. I usually use Maven all over the place. Without maven pom.xml file I can't even start working on my project. Maven is so convenient tool for building Java project, I wouldn't think project without it. It took long time to import all of my Java Projects to new Eclipse Workspace. While importing all of my Maven Projects to Eclipse, somehow few of the .jar files got corrupted. After import finish I noticed few errors under Problems tab in Eclipse. Corrupt imported file by Maven caused below error: Here is a complete message: Eclipse Error Message 12 Description Resource Path Type LocationArchive for required library: '/Users/app/.m2/repository/org/springframework/spring-webmvc/4.1.1.RELEASE/spring-webmvc-4.1.1.RELEASE.jar' in project 'CrunchifySpringMVCTutorial' cannot be read or is not a valid ZIP file CrunchifySpringMVCTutorial Build Path Problem Build path How to identify an issue? On you computer, visit path: /Users/app/.m2/repository/org/springframework/spring-webmvc/4.1.1.RELEASE. You should be able to tell by looking at spring-webmvc-4.1.1.RELEASE.jar file size. In my case it was just 32 bytes. File shouldn't be that small. How to fix an issue? There are multiple solutions to this: Close/Open the project in Eclipse. Error may go away - didn't work for me. Exit/Open Eclipse. Error may go away - didn't work for me. In my case, I've deleted directory 4.1.1.RELEASE as mentioned in above image. Then right click on project Maven -> Update Project How to verify if issue is resolved now? Once you perform Update Project… steps in Eclipse, Eclipse would re-download th