Thx very much! It does work!

Best Regards

On 4/15/07, Alexandru Dragomir <[EMAIL PROTECTED]> wrote:

Is not compiling because the annotations @Id and @Contribute have been
removed.

Modify AppModule.java to look like this


http://svn.apache.org/viewvc/tapestry/tapestry5/quickstart/trunk/src/main/resources/
archetype-resources/src/main/java/services/AppModule.java?view=markup

and it should work.

Cheers ,
Alex



On 4/14/07, Kevin Lau <[EMAIL PROTECTED]> wrote:
>
> I'm trying to build a new project for 5.0.3.
> I created the project like this:
>
> mvn archetype:create
> -DarchetypeGroupId=org.apache.tapestry-DarchetypeArtifactId=
> quickstart -DarchetypeVersion=5.0.3 -DgroupId=
org.example-DartifactId=myapp
> -DpackageName=org.example.myapp -Dversion=1.0.0-SNAPSHOT
>
> then I issued "mvn jetty:run", but got compile error:
>
> [INFO] Compilation failure
>
>
>
E:\Projects\myapp\src\main\java\org\example\myapp\services\AppModule.java:[8,43]
> cannot find symbol
> symbol  : class Contribute
> location: package org.apache.tapestry.ioc.annotations
>
>
>
E:\Projects\myapp\src\main\java\org\example\myapp\services\AppModule.java:[9,43]
> cannot find symbol
> symbol  : class Id
> location: package org.apache.tapestry.ioc.annotations
>
>
>
E:\Projects\myapp\src\main\java\org\example\myapp\services\AppModule.java:[20,1]
> cannot find symbol
> symbol: class Id
> @Id("app")
>
>
>
E:\Projects\myapp\src\main\java\org\example\myapp\services\AppModule.java:[23,5]
> cannot find symbol
> symbol  : class Contribute
> location: class org.example.myapp.services.AppModule
>
>
>
E:\Projects\myapp\src\main\java\org\example\myapp\services\AppModule.java:[73,5]
> cannot find symbol
> symbol  : class Contribute
> location: class org.example.myapp.services.AppModule
>
> I had checked the tapestry-ioc-5.0.3.jar, the class
> org.apache.tapestry.ioc.annotations.Contribute doesn't exist. I think
this
> should be a reasonable change from 5.0.2, then maybe the issue is about
> the
> archetype..
>
> Can somebody no the answer? Many thanks.
> --
> .....................................................................
> Man in the mirror
>




--
.....................................................................
Man in the mirror

Reply via email to