In the current snapshot of Tapestry 5, Contribute and Id annotations have
been removed in favour of convention. You can read about the way things work
now on the following sites:

http://tapestry.apache.org/tapestry5/tapestry-ioc/module.html -- read up
until "Cacheing Services" for what to do about Id

http://tapestry.apache.org/tapestry5/tapestry-ioc/configuration.html

Basically replace the @Contribute("serviceName") with a conventional method
name: contributeServiceName( ...)

Hope this helps

On 3/20/07, Celia Mou <[EMAIL PROTECTED]> wrote:

Hi all,

On attempting to build the hilo project in the Tapestry 5 tutorial, i
got a compilation error from Maven with these lines:
---------

D:\projects\hilo\src\main\java\org\example\hilo\services\AppModule.java:[8,43]
cannot find symbol symbol  : class Contribute
location: package org.apache.tapestry.ioc.annotations
---------

And indeed the class org.apache.tapestry.ioc.annotations.Contribute is
not there in the local repository. i guess the files have just run out
of synce.

It's also true with another class in the same package: Id

Any ideas?

Thanks a lot!

celia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Peter Beshai

Computer Science Student
University of Waterloo

Reply via email to