Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75D4D98A1 for ; Sat, 26 Nov 2011 12:54:55 +0000 (UTC) Received: (qmail 95039 invoked by uid 500); 26 Nov 2011 12:54:55 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 94993 invoked by uid 500); 26 Nov 2011 12:54:54 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 94985 invoked by uid 99); 26 Nov 2011 12:54:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Nov 2011 12:54:53 +0000 X-ASF-Spam-Status: No, hits=1.8 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 26 Nov 2011 12:54:49 +0000 Received: by iakk32 with SMTP id k32so7428409iak.32 for ; Sat, 26 Nov 2011 04:54:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=UqWmw6oCeuOxH63kH7r9YXbRaXOVo0nZh1qMf/JDoug=; b=YaIGPCxoaKcVrz/d86FiMMdVQbXlt3yll0sSpGEhV4o9t4SA6CKiiI3FEumh8zS2rK mk8DNjsCOokk2lwANDJ9Hok6OGn73pnORZLPP/IsWhSdlGcbp6Hh5SZQQGc8fC5+P03D c465SFjZrC5FZbF0BYXvwOq0gDYsa1/j6cH9c= Received: by 10.42.173.71 with SMTP id q7mr16160525icz.43.1322312068809; Sat, 26 Nov 2011 04:54:28 -0800 (PST) Received: from [192.168.0.158] ([123.116.50.75]) by mx.google.com with ESMTPS id e2sm16125873ibe.0.2011.11.26.04.54.25 (version=SSLv3 cipher=OTHER); Sat, 26 Nov 2011 04:54:27 -0800 (PST) Message-ID: <4ED0E17F.2080505@gmail.com> Date: Sat, 26 Nov 2011 20:54:23 +0800 From: Willem Jiang User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: users@camel.apache.org Subject: Re: URGENT help please References: <2BB1961F0ADF064C855946B09BF546A933265289@ExchgSVR.ct.bbd.co.za>, <2BB1961F0ADF064C855946B09BF546A9332652A8@ExchgSVR.ct.bbd.co.za> In-Reply-To: <2BB1961F0ADF064C855946B09BF546A9332652A8@ExchgSVR.ct.bbd.co.za> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit It looks like you application war have some class which is build with JDK 1.6. Can you check if there any other third part dependency is build with JDK 1.6. On 11/26/11 4:41 PM, Jose Correia wrote: > Yeh as I mentioned I did find that link myself, hence why I went back to 2.6.0. However it did not work it seems, it still failed with same exception... so I went even further back to 2.5.0... hmm it seems not its in spring... even though spring 3.0.5 seems to be compatible... sucks... the battle continues. > > Thanks for assistance though. > > Regards > Jose > > ________________________________________ > From: Claus Ibsen [claus.ibsen@gmail.com] > Sent: 26 November 2011 10:00 AM > To: users@camel.apache.org > Cc: Jose Correia > Subject: Re: URGENT help please > > Hi > > Camel 2.6.x or older supports JDK 1.5. > > See here for more details > http://camel.apache.org/2011/02/09/camel-270-drops-support-for-java-15.html > > > On Sat, Nov 26, 2011 at 7:41 AM, Jose Correia wrote: >> Hi all >> >> My maven-built application (using eclipse sprins source IDE) was being >> compiled and created using JDK 6. Suddenly the client wanted to go back to >> jdk5... so I did the usual, went to the jdk compliance preferences and >> switched it to 1.5. Also in all my poms set the maven-jar-plugin and >> maven-compiler-plugin to 1.5. >> >> I rebuilt war file and deployed on Jboss, it then started spewing on >> deployment: >> >> >> java.lang.UnsupportedClassVersionError: Bad version number in .class file >> >> at java.lang.ClassLoader.defineClass1(Native Method) >> >> >> >> And it was pointing at Camel... I was using 2.7.2... which after googling I >> found out on the camel website that from after 2.6.0 Camel stopped support >> for 1.5... so I went back to 2.6.0 (quite a mission too as certain depencies >> of 2.7.2 all of a sudden needed to be specified directly) and rebuilt. Also >> I then restarted eclipse wit jdk5 and pointed my runtime environment to jdk >> 5 too. >> >> >> >> There was an improvement in that on deployment exceptions fell away. However >> on calling a webmethod of my webservice through soap ui, the same exceptions >> is thrown... so I went back to camel version 2.5.0.... and same thing. >> >> >> >> Can anyone tell me which version of camel is really compatible with 1.5? >> >> >> >> Thanks >> >> Jose > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cibsen@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ -- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang