> I do use ChenilleKit but haven't run into this problem (I presume that's
> because Maven always uses the later version if there is a conflict? 
In my limited experience with Maven that is not the case, I think it may depend 
on a few factors, explicit dependency declarations tend to win out, as does a 
child over a parent appear to take precedence, of course a Maven expert can 
chime in here and correct me if I am wrong.

ChenilleKit works reliably if you use the exclusion and also remove any 
explicit dependencies for javassist and see what version appears.

Cheers,
Peter
 

----- Original Message -----
From: "Cameron Newham" <cameron.new...@bl.uk>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Wednesday, 22 July, 2009 16:20:38 GMT +02:00 Athens, Beirut, Bucharest, 
Istanbul
Subject: RE: T5.1.0.5: StackMapTable format error

Thanks Peter.

I do use ChenilleKit but haven't run into this problem (I presume that's
because Maven always uses the later version if there is a conflict? And
as I've explicitly brought in the later version of Javassist then that
overrides any earlier versions being included on the classpath)

I do notice that ChenilleKit wants to use Tapestry 5.0.18 and is causing
a conflict there. Is this likely to be updated soon?


-----Original Message-----
From: p.stavrini...@albourne.com [mailto:p.stavrini...@albourne.com] 
Sent: 22 July 2009 14:07
To: Tapestry users
Subject: Re: T5.1.0.5: StackMapTable format error

Be sure also to include an exclusion if you use ChenilleKit, or you will
run into similar issues. 

<dependency>
<groupId>org.chenillekit</groupId>
<artifactId>chenillekit-tapestry</artifactId>
<version>1.0.0</version>
<exclusions>
<exclusion>
<groupId>jboss</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>

Cheers,
Peter

----- Original Message -----
From: "Cameron Newham" <cameron.new...@bl.uk>
To: "Tapestry users" <users@tapestry.apache.org>
Sent: Wednesday, 22 July, 2009 13:40:24 GMT +02:00 Athens, Beirut,
Bucharest, Istanbul
Subject: RE: T5.1.0.5: StackMapTable format error

Thanks Thiago, although it turned out to be because I'm using Java 1.6
and I had an old(ish) version of Javassist being brought in as a
dependency from tapestry-ioc that wants javassist-3.4.GA.

Specifying the latest Javassist (3.8.GA) in my POM solved the problem.

I note that I found this out from an email sent by Howard in 2007
addressing a query on StackMapTable error. I find it somewhat surprising
that this problem still occurs in 2009. Surely Tapestry 5.1.x should be
using the latest Javassist...



-----Original Message-----
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] 
Sent: 21 July 2009 14:58
To: Tapestry users
Subject: Re: T5.1.0.5: StackMapTable format error

Em Tue, 21 Jul 2009 10:18:21 -0300, Newham, Cameron
<cameron.new...@bl.uk>  
escreveu:

> Hi,

Hi!

> My Index page comes up fine when running my app from Jetty in Eclipse.
> However, as soon as I attempt to log in and Tapestry tries to go to
the
> app "home" page I get a StackMapTable format error.

Typically, strange errors are caused by having more than one version of

the same library in your classpath. You can also try to recompile all
the  
classes.

-- 
Thiago H. de Paula Figueiredo
Independent Java consultant, developer, and instructor
http://www.arsmachina.com.br/thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

************************************************************************
**
 
Experience the British Library online at www.bl.uk
 
The British Library's new interactive Annual Report and Accounts 2007/08
: www.bl.uk/knowledge
 
Help the British Library conserve the world's knowledge. Adopt a Book.
www.bl.uk/adoptabook
 
The Library's St Pancras site is WiFi - enabled
 
************************************************************************
*
 
The information contained in this e-mail is confidential and may be
legally privileged. It is intended for the addressee(s) only. If you are
not the intended recipient, please delete this e-mail and notify the
postmas...@bl.uk : The contents of this e-mail must not be disclosed or
copied without the sender's consent. 
 
The statements and opinions expressed in this message are those of the
author and do not necessarily reflect those of the British Library. The
British Library does not take any responsibility for the views of the
author. 
 
************************************************************************
*

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to