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_str...@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<user-unsubscr...@struts.apache.org>
For additional commands, e-mail: user-h...@struts.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to