I'm trying to start a new proyect but i can't make it woks.

enviroment:
maven 2.09 (new repo)
jdk1.5.0_06
mysql-5.0.51b

my steps were:
1. C:\Source>mvn archetype:create 
-DarchetypeGroupId=org.appfuse.archetypes 
-DarchetypeArtifactId=appfuse-basic-struts 
-DremoteRepositories=http://static.appfuse.org/releases^ 
-DarchetypeVersion=2.0.1 -DgroupId=com.mycompany.app -DartifactId=myproject
2. make changes to pom.xml file (changed mysql root password)
3. C:\myproject>mvn appfuse:full-source (SUCCESS!)
4. C:\Source\myproject>mvn jetty:run-war (ERROR!!):

[ERROR] The method findAnnotation(Method, Class ) in the type
AnnotationUtils
is not applicable for the arguments (Class<User>, Class<Table>)
[ERROR] The method findAnnotation(Method, Class ) in the type
AnnotationUtils
is not applicable for the arguments (Class<User>, Class<Table>)
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Compiler errors :
error at Table table = AnnotationUtils.findAnnotation(User.class,
Table.class);
                              ^^^^^
D:\myproject\src\main\java\org\appfuse\dao\hibernate\UserDaoHibernate.java:85:0::0
Th
e method findAnnotation(Method, Class ) in the type AnnotationUtils is not
app
licable for the arguments (Class<User>, Class<Table>)
error at Table table = AnnotationUtils.findAnnotation(User.class,
Table.class);

HELP!HELP!HELP!

best regards,
jack 
-- 
View this message in context: 
http://www.nabble.com/problem-occurred-after-running-mvn-jetty%3Arun-war-tp16952700s2369p16952700.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


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

Reply via email to