> I guess you're autobuilding a service (AlertFilterCacheRepositoryImpl)
> with a constructor that receives two Strings. Am I right?
Not quite, there is no explicit auto-loading, I simply build my IoC registry
adding a bunch of modules to it in the process... the constructor for that
service looks like this:
public AlertFilterCacheRepositoryImpl(@HfdbDatabase HfdbSession session) {
session_ = session;
cache_ = new
LookupCacheWrapper<AlertFilterDigest,Integer>(AlertFilterDigest.class);
}
The annotation is a marker, followed by an interface and all this does is
simply determine the database to reference, the cache object is constructed and
also populated, its all pretty innocuous so I don't see how it relates to the
IllegalAccessError?
Peter
----- Original Message -----
From: "Thiago H. de Paula Figueiredo" <[email protected]>
To: "Tapestry users" <[email protected]>
Sent: Tuesday, 10 August, 2010 13:58:58 GMT +02:00 Athens, Beirut, Bucharest,
Istanbul
Subject: Re: Tapestry 5.2.0 Alpha Release Now Available
On Tue, 10 Aug 2010 05:30:32 -0300, <[email protected]> wrote:
> Hi Guys,
Hi!
> I just tried the upgrade from 5.1, but having no luck getting it
> running, I am getting this exception:
> Caused by: java.lang.IllegalAccessError: tried to access method
> com.albourne.db.alert.cache.AlertFilterDigest.<init>(IILjava/lang/String;Ljava/lang/String;)V
>
> > from class com.albourne.db.alert.cache.AlertFilterCacheRepositoryImpl
I guess you're autobuilding a service (AlertFilterCacheRepositoryImpl)
with a constructor that receives two Strings. Am I right?
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]