Maven Error 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 error in opening zip file during maven build the workings and policies of this site About Us Learn more about error in opening zip file java Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow
Error In Opening Zip File Jenkins
Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each
Error In Opening Zip File Gradle
other. Join them; it only takes a minute: Sign up cannot read zip file entry up vote 0 down vote favorite I have a maven project which is giving me BUILD FAILURE with the following error when I try to run mvn install: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project core: Compilation failure: Compilation failure: [ERROR] ant error in opening zip file error: error reading C:\Users\lawson\.m2\repository\org\springframework\spring-beans\3.0.5.RELEASE\spring-beans-3.0.5.RELEASE.jar; cannot read zip file entry I already see all the dependencies under Maven Dependencies in my project in Eclipse. Could someone help me understand why am I getting this error? Thanks. eclipse spring maven share|improve this question asked May 21 '12 at 18:30 skip 3,6441871119 1 Do you have a Spring repository location in your pom.xml, if so try to remove it –Joey May 21 '12 at 18:35 @Joey: No, I don't have Spring repository location in my pom. I just have http://repo1.maven.org/maven2 and other repository for third party specific snapshot jars. –skip May 21 '12 at 18:39 add a comment| 2 Answers 2 active oldest votes up vote 4 down vote accepted I would suggest to first try to delete the contents of the folder: C:\Users\lawson.m2\repository\org\springframework and afterward redo the mvn clean package of your project. Furthermore i would suggest to update the maven-compiler-plugin version via
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings
Error In Opening Zip File Eclipse
and policies of this site About Us Learn more about Stack Overflow javac error in opening zip file the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation error creating shaded jar: error in opening zip file Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it http://stackoverflow.com/questions/10690617/cannot-read-zip-file-entry only takes a minute: Sign up Maven : error in opening zip file when running maven up vote 33 down vote favorite 7 [ERROR] error: error reading C:\Users\suresh\.m2\repository\org\jdom\jdom\1.1\jdom-1.1.jar; error in opening zip file [ERROR] error: error reading C:\Users\suresh\.m2\repository\javax\servlet\servlet-api\2.5\servlet-api-2.5.jar; error in opening zip file [ERROR] error: error reading C:\Users\suresh\.m2\repository\org\apache\cxf\cxf-rt-bindings-http\2.2.1\cxf-rt-bindings-http-2.2.1.jar; error in opening zip file [ERROR] error: error reading C:\Users\suresh\.m2\repository\org\codehaus\jra\jra\1.0-alpha-4\jra-1.0-alpha-4.jar; error in http://stackoverflow.com/questions/7600028/maven-error-in-opening-zip-file-when-running-maven opening zip file [ERROR] error: error reading C:\Users\suresh\.m2\repository\org\apache\cxf\cxf-api\2.2.1\cxf-api-2.2.1.jar; error in opening zip file [ERROR] error: error reading C:\Users\suresh\.m2\repository\org\apache\cxf\cxf-common-utilities\2.2.1\cxf-common-utilities-2.2.1.jar; error in opening zip file [INFO] 44 errors How to resolve this error while running mvn clean install? And I see that, on to the repository path in my disk, starting from servlet, no packages are being created inside repository. maven share|improve this question edited May 3 at 11:30 R O M A N I A 12.5k116677 asked Sep 29 '11 at 15:53 UnKnown 5,62542147245 try: mvn -U clean install. The -U parameter forces maven to update. –PaoloVictor Sep 29 '11 at 15:55 add a comment| 8 Answers 8 active oldest votes up vote 50 down vote Probably, contents of the JAR files in your local .m2 repository are HTML saying "301 Moved Permanently". It seems that mvn does not handle "301 Moved Permanently" properly as expected. In such a case, download the JAR files manually from somewhere (the central repository, for example) and put them into your .m2 repository. See also: asm-3.1.jar; error in opening zip file htt
Website & Portal Technologies Java EE Development WebSphere App Coding Spring Tools & IDE JavaScript with JSjet REST Web Services Web Development https://www.genuitec.com/forums/topic/all-maven-projects-start-with-failure-cannot-open-zip-file/ Tools Maven Enablement Eclipse Code Sharing for Slack Live Preview 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 Support Services Select Page Your Internet Explorer version is not zip file compatible with our shopping cart system. Please use version 9 or higher to avoid problems with your order(s). Close All 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 error in opening 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 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 th