On 10/10/06, Kailas Lovlekar <[EMAIL PROTECTED]> wrote:

I get following error while building shale projects.

[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
D:\dev\projects\shale\trunk\shale-test\src\main\java\org\apache\shale\te
st\mock\MockServlet.java:[21,-1] cannot access javax.servlet.Servlet
bad class file: C:\Documents and
Settings\kailas\.m2\repository\javax\servlet\servlet-api\2.4\servlet-api
-2.4.jar(javax/servlet/Servlet.class)
class file has wrong version 49.0, should be 48.0
------------------------------------------------------------------------
--------

I tried Maven 2.04 and 2.0, same problem. All jars including
servlet-api-2.4.jar were downloaded by maven OK. Any ideas?


As reported later in this thread, the java.net version of the Servlet
2.4jar looks like it was compiled with JDK
1.5.  I'll forward a note to the person who maintains these artifacts to get
that fixed.

Craig

Regards
Kailas



___________________________________________________________
To help you stay safe and secure online, we've developed the all new
Yahoo! Security Centre. http://uk.security.yahoo.com

Reply via email to