Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 7712 invoked from network); 4 Aug 2004 17:50:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Aug 2004 17:50:23 -0000 Received: (qmail 59691 invoked by uid 500); 4 Aug 2004 15:52:11 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 59676 invoked by uid 500); 4 Aug 2004 15:52:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 59654 invoked by uid 99); 4 Aug 2004 15:52:07 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [217.158.103.214] (HELO maingate.mkodo.com) (217.158.103.214) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 04 Aug 2004 08:52:04 -0700 Received: from smtp.uk1.mkodo.com (voyager.uk1.mkodo.com [192.168.11.233]) by maingate.mkodo.com (8.11.2/8.11.2) with ESMTP id i74Fm8F18128 for ; Wed, 4 Aug 2004 16:48:08 +0100 Received: from [127.0.0.1] (jjwlaptop.uk1.mkodo.com [192.168.11.239]) by smtp.uk1.mkodo.com (8.12.8/8.12.8) with ESMTP id i74FltDn008270 for ; Wed, 4 Aug 2004 16:48:08 +0100 Message-ID: <4111058D.8030006@mkodo.com> Date: Wed, 04 Aug 2004 16:49:33 +0100 From: Jon Wingfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat error References: <4110D394.2010105@volume4.co.za> In-Reply-To: <4110D394.2010105@volume4.co.za> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N The 49.0 is a magic number within the class bytecode. This type of error typically means the class was compiled using a newer version of the jdk than the runtime that is interpreting the bytecode. So, did you, say, compile the lawSearch class using jdk 1.5 but are running Tomcat against jdk 1.4? Resolution: recompile lawSearch against jdk 1.4 http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#75883 HTH, Jon Schalk Neethling wrote: > Hey there all > > I get the following line when running my servlet on Tomcat version 5.0.25: > > java.lang.UnsupportedClassVersionError: > org/volume4/searchEngine/lawSearch (Unsupported major.minor version 49.0) > > What exactly does this mean and how do I go about fixing this? Thanks! > > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org