Re: getting ClassFactory is matched by 2 services After upgrade from 5.06 - 5.0.11

2008-05-20 Thread Kristian Marinkovic
@tapestry.apache.org An users@tapestry.apache.org Kopie Thema Re: getting ClassFactory is matched by 2 services After upgrade from 5.06 - 5.0.11 I do not quite understand where to put the annotation. I haven't got any code where I'm referencing a classloader explicitly. I must be something missing

Re: getting ClassFactory is matched by 2 services After upgrade from 5.06 - 5.0.11

2008-05-19 Thread Howard Lewis Ship
Add the injection point (i.e., the constructor parameter) add either the @Builtin or the @ComponentLayer annotation. This marker annotation will select the correct implementation: either the general ClassFactory (used by the IoC container) or the one used when working with component code. You

Re: getting ClassFactory is matched by 2 services After upgrade from 5.06 - 5.0.11

2008-05-19 Thread Britske
I do not quite understand where to put the annotation. I haven't got any code where I'm referencing a classloader explicitly. I must be something missing here?.. Howard Lewis Ship wrote: Add the injection point (i.e., the constructor parameter) add either the @Builtin or the

getting ClassFactory is matched by 2 services After upgrade from 5.06 - 5.0.11

2008-05-18 Thread Britske
After upgrading tapestry from 5.0.6 to 5.0.11 I'm getting the following error: Caused by: java.lang.RuntimeException: Service interface org.apache.tapestry.ioc.services.ClassFactory is matched by 2 services: ClassFactory, ComponentClassFactory. Automatic dependency resolution requires that

Re: getting ClassFactory is matched by 2 services After upgrade from 5.06 - 5.0.11

2008-05-18 Thread Toby Hobson
[EMAIL PROTECTED] To: users@tapestry.apache.org Sent: Sunday, 18 May, 2008 2:40:41 PM Subject: getting ClassFactory is matched by 2 services After upgrade from 5.06 - 5.0.11 After upgrading tapestry from 5.0.6 to 5.0.11 I'm getting the following error: Caused by: java.lang.RuntimeException: Service