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