Hi

What JDK version are you using (type java -version at the command prompt)?

Hermod

-----Original Message-----
From: Kailas Lovlekar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 2:08 PM
To: [email protected]
Subject: Build problem


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?

Regards
Kailas


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


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Reply via email to