Hi Rajitha, Yes true. Replacing jars is not the solution to the real problem.
Thanks, On Tue, Jul 29, 2014 at 9:48 AM, Rajith Vitharana <[email protected]> wrote: > Hi Darshana, > > IMO that wont be feasible if there are so many corrupted jars :) > > Thanks > > > On Tue, Jul 29, 2014 at 9:41 AM, Darshana Akalanka Pagoda Arachchi < > [email protected]> wrote: > >> I also had the same issue and thought this was an issue in my machine. >> The jars do download into these locations. But when tried to open using the >> file browser is says that the jar is corrupted. However, the jar files in >> the repository opens without any errors if downloaded manually. >> >> *Deleting maven local repo did not solve this issue.* >> *jdk - 1.7* >> *maven - 3.0.5* >> >> What I had done was deleted these corrupted jars from the maven local >> repository and downloaded them manually and copied to those locations from >> the referenced repository. >> >> Thanks, >> >> >> On Tue, Jul 29, 2014 at 8:25 AM, Rajith Vitharana <[email protected]> >> wrote: >> >>> Hi Dilan, >>> >>> Try cleaning your local m2 repo and try again. (just delete the >>> "/home/dilan/.m2/repository/" >>> folder and try mvn clean install) >>> what is the jdk version you are using? and maven version? >>> >>> Thanks, >>> >>> >>> On Tue, Jul 29, 2014 at 7:22 AM, Dilan Udara Ariyaratne <[email protected] >>> > wrote: >>> >>>> Hi Everyone, >>>> >>>> I would like to inquire your view on the following issue. >>>> >>>> When trying to build ESB, downloaded from the following SVN Link: >>>> https://svn.wso2.org/repos/wso2/carbon/platform/tags/turing-chunk07, >>>> an error pops up as follows >>>> at the terminal (used command: mvn clean install -Dmaven.test.skip=true >>>> ) >>>> >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 01:18 min >>>> [INFO] Finished at: 2014-07-28T22:11:17+05:30 >>>> [INFO] Final Memory: 244M/1416M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] Failed to execute goal >>>> org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile >>>> (default-compile) on project ode-axis2: Compilation failure: Compilation >>>> failure: >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/apache/axis2/mex/1.6.1-wso2v2/mex-1.6.1-wso2v2-impl.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/apache/axis2/axis2-mtompolicy/1.6.1-wso2v2/axis2-mtompolicy-1.6.1-wso2v2.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/apache/ws/security/wss4j/1.5.11-wso2v2/wss4j-1.5.11-wso2v2.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/apache/xalan/xalan/2.7.1/xalan-2.7.1.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/apache/santuario/xmlsec/1.4.2/xmlsec-1.4.2.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/opensaml/opensaml1/1.1/opensaml1-1.1.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/opensaml/opensaml/2.2.3/opensaml-2.2.3.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/org/slf4j/slf4j-jdk14/1.5.2/slf4j-jdk14-1.5.2.jar; >>>> error in opening zip file >>>> [ERROR] error: error reading >>>> /home/dilan/.m2/repository/bouncycastle/bcprov-jdk14/140/bcprov-jdk14-140.jar; >>>> error in opening zip file >>>> [ERROR] -> [Help 1] >>>> >>>> Highly appreciate any feedback on this issue. >>>> >>>> Thanks... >>>> >>>> >>>> *Dilan U. Ariyaratne* >>>> Software Engineer >>>> WSO2 Inc. <http://wso2.com/> >>>> Mobile: +94775149066 >>>> lean . enterprise . middleware >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Rajith Vitharana >>> >>> Software Engineer, >>> WSO2 Inc. : wso2.com >>> Mobile : +94715883223 >>> Blog : http://lankavitharana.blogspot.com/ >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> *Darshana Akalanka Pagoda Arachchi,* >> *Software Engineer* >> *078-4721791 <078-4721791>* >> > > > > -- > Rajith Vitharana > > Software Engineer, > WSO2 Inc. : wso2.com > Mobile : +94715883223 > Blog : http://lankavitharana.blogspot.com/ > -- *Darshana Akalanka Pagoda Arachchi,* *Software Engineer* *078-4721791*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
