You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Mawata <ch...@mathcove.net> on 2011/09/07 04:35:18 UTC
xwork-core-2.2.3.jar in Maven repository probably corrupt
The xwork-core-2.2.3.jar we are getting via Maven seems to be corrupt.
In my pom if I have
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.2.1</version>
</dependency>
I get no issues and the application runs.
If I have
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>2.2.3</version>
</dependency>
it fails with
ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] error: error reading C:\Documents and Settings\Administrator\.m2\repository\org\apache\struts\xwork\xwork-core\2.2.3\xwork-core-2.2.3.jar; invalid LOC header (bad signature)
[INFO] 1error
If I replace the xwork-core-2.2.3.jar in my local repository with one I manually download from
http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.struts.xwork/xwork-core/2.2.3
then I get no errors and the application runs.
BTW the jar that came down via Maven is 664 KB while the one I manually downloaded is 602 KB
Cheers
Chris Mawata
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: xwork-core-2.2.3.jar in Maven repository probably corrupt
Posted by Maurizio Cucchiara <mc...@apache.org>.
OK,
please let us know.
Maurizio Cucchiara
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: xwork-core-2.2.3.jar in Maven repository probably corrupt
Posted by Chris Mawata <ch...@mathcove.net>.
I'll try that (deleting the jar) tomorrow. Ihave to drive 100 miles to
work this morning. Right now I have the manually downloaded one in the
local m2 repository.
Cheers
Chris Mawata
On 9/7/2011 2:12 AM, Maurizio Cucchiara wrote:
> Have you already tryied to delete xwork jar under your M2 repository, such
> that maven tryies to download again the artifact on the next iteration?
>
> Maurizio Cucchiara
>
> Il giorno 07/set/2011 04.36, "Chris Mawata"<
> chris_mawata_struts@mathcove.net> ha scritto:
> The xwork-core-2.2.3.jar we are getting via Maven seems to be corrupt.
>
> In my pom if I have
>
> <dependency>
> <groupId>org.apache.struts</**groupId>
> <artifactId>struts2-core</**artifactId>
> <version>2.2.1</version>
> </dependency>
>
> I get no issues and the application runs.
>
> If I have
>
> <dependency>
> <groupId>org.apache.struts</**groupId>
> <artifactId>struts2-core</**artifactId>
> <version>2.2.3</version>
> </dependency>
>
> it fails with
>
> ERROR] COMPILATION ERROR :
> [INFO] ------------------------------**------------------------------**-
> [ERROR] error: error reading C:\Documents and Settings\Administrator\.m2\**
> repository\org\apache\struts\**xwork\xwork-core\2.2.3\xwork-**core-2.2.3.jar;
> invalid LOC header (bad signature)
> [INFO] 1error
>
>
> If I replace the xwork-core-2.2.3.jar in my local repository with one I
> manually download from
> http://grepcode.com/snapshot/**repo1.maven.org/maven2/org.**
> apache.struts.xwork/xwork-**core/2.2.3<http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.struts.xwork/xwork-core/2.2.3>
>
> then I get no errors and the application runs.
>
> BTW the jar that came down via Maven is 664 KB while the one I manually
> downloaded is 602 KB
>
> Cheers
> Chris Mawata
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.**apache.org<us...@struts.apache.org>
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: xwork-core-2.2.3.jar in Maven repository probably corrupt
Posted by Chris Mawata <ch...@mathcove.net>.
Thanks, Maurizio. That worked.
Cheers
Chris Mawata
On 9/7/2011 2:12 AM, Maurizio Cucchiara wrote:
> Have you already tryied to delete xwork jar under your M2 repository, such
> that maven tryies to download again the artifact on the next iteration?
>
> Maurizio Cucchiara
>
> Il giorno 07/set/2011 04.36, "Chris Mawata"<
> chris_mawata_struts@mathcove.net> ha scritto:
> The xwork-core-2.2.3.jar we are getting via Maven seems to be corrupt.
>
> In my pom if I have
>
> <dependency>
> <groupId>org.apache.struts</**groupId>
> <artifactId>struts2-core</**artifactId>
> <version>2.2.1</version>
> </dependency>
>
> I get no issues and the application runs.
>
> If I have
>
> <dependency>
> <groupId>org.apache.struts</**groupId>
> <artifactId>struts2-core</**artifactId>
> <version>2.2.3</version>
> </dependency>
>
> it fails with
>
> ERROR] COMPILATION ERROR :
> [INFO] ------------------------------**------------------------------**-
> [ERROR] error: error reading C:\Documents and Settings\Administrator\.m2\**
> repository\org\apache\struts\**xwork\xwork-core\2.2.3\xwork-**core-2.2.3.jar;
> invalid LOC header (bad signature)
> [INFO] 1error
>
>
> If I replace the xwork-core-2.2.3.jar in my local repository with one I
> manually download from
> http://grepcode.com/snapshot/**repo1.maven.org/maven2/org.**
> apache.struts.xwork/xwork-**core/2.2.3<http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.struts.xwork/xwork-core/2.2.3>
>
> then I get no errors and the application runs.
>
> BTW the jar that came down via Maven is 664 KB while the one I manually
> downloaded is 602 KB
>
> Cheers
> Chris Mawata
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.**apache.org<us...@struts.apache.org>
> For additional commands, e-mail: user-help@struts.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: xwork-core-2.2.3.jar in Maven repository probably corrupt
Posted by Maurizio Cucchiara <ma...@gmail.com>.
Have you already tryied to delete xwork jar under your M2 repository, such
that maven tryies to download again the artifact on the next iteration?
Maurizio Cucchiara
Il giorno 07/set/2011 04.36, "Chris Mawata" <
chris_mawata_struts@mathcove.net> ha scritto:
The xwork-core-2.2.3.jar we are getting via Maven seems to be corrupt.
In my pom if I have
<dependency>
<groupId>org.apache.struts</**groupId>
<artifactId>struts2-core</**artifactId>
<version>2.2.1</version>
</dependency>
I get no issues and the application runs.
If I have
<dependency>
<groupId>org.apache.struts</**groupId>
<artifactId>struts2-core</**artifactId>
<version>2.2.3</version>
</dependency>
it fails with
ERROR] COMPILATION ERROR :
[INFO] ------------------------------**------------------------------**-
[ERROR] error: error reading C:\Documents and Settings\Administrator\.m2\**
repository\org\apache\struts\**xwork\xwork-core\2.2.3\xwork-**core-2.2.3.jar;
invalid LOC header (bad signature)
[INFO] 1error
If I replace the xwork-core-2.2.3.jar in my local repository with one I
manually download from
http://grepcode.com/snapshot/**repo1.maven.org/maven2/org.**
apache.struts.xwork/xwork-**core/2.2.3<http://grepcode.com/snapshot/repo1.maven.org/maven2/org.apache.struts.xwork/xwork-core/2.2.3>
then I get no errors and the application runs.
BTW the jar that came down via Maven is 664 KB while the one I manually
downloaded is 602 KB
Cheers
Chris Mawata
------------------------------**------------------------------**---------
To unsubscribe, e-mail:
user-unsubscribe@struts.**apache.org<us...@struts.apache.org>
For additional commands, e-mail: user-help@struts.apache.org