Thanks worked.

-----Original Message-----
From: Rahul Akolkar [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 16, 2006 3:15 PM
To: [email protected]
Subject: Re: Error while building


On 10/16/06, THOMAS, JAYANT (SBCSI) <[EMAIL PROTECTED]> wrote:
> Hello All,
> Not sure what the issue is , can someone help ?, Iam new to using
Maven
> to build applications !!.
> Thanks
> Jayant
>
<snip/>
>
------------------------------------------------------------------------
> ERROR] BUILD FAILURE
> INFO]
>
------------------------------------------------------------------------
> INFO] Compilation failure
>
>
:\shale\shale-framework-1.0.4-SNAPSHOT\shale-test\src\main\java\org\apac
> he\shal
> \test\mock\MockServletContext.java:[32,-1] cannot access
> javax.servlet.RequestD
> spatcher
> ad class file: C:\Documents and
> Settings\jt8437\.m2\repository\javax\servlet\se
>
vlet-api\2.4\servlet-api-2.4.jar(javax/servlet/RequestDispatcher.class)
> lass file has wrong version 49.0, should be 48.0
>
<snap/>

Came up recently, one of the m2 repositories has a bad jar. As one
solution, see this (remove jar from local repository as mentioned):

 http://www.nabble.com/Re%3A-Build-problem-p6735964.html

Find the replacement jar here:

 http://www.ibiblio.org/maven2/javax/servlet/servlet-api/2.4/

-Rahul

Reply via email to