Which version of AppFuse did you use to create your project? I can try
to reproduce the problem, but only if I know which version you used to
create your project.

Matt

On 1/24/08, chinofish <[EMAIL PROTECTED]> wrote:
> some more information:
>
> after i execute
>
> mvn appfuse:full-source
>
> i can execute
> mvn package
>
> but when i want to execute
> mvn package -Dmaven.test.skip=true
>
> the same error will appear !
>
>
>
> ======= 2008-01-24 15:13:17 chinofish wrote:=======
>
> >I faced a weired problem.
> >
> >I create a new project with appfuse-basic-struts.
> >
> >and after i executed
> >
> >mvn appfuse:full-source
> >mvn clean
> >mvn eclipse:eclipse
> >
> >and import the project into my eclipse,
> >there is an compile error in line85 of class UserDaoHibernate:
> >
> >        Table table = AnnotationUtils.findAnnotation(User.class, 
> > Table.class);
> >
> >the error message is :
> >
> >The method findAnnotation(Method, Class<A>) in the type AnnotationUtils is 
> >not applicable for the arguments (Class<User>, Class<Table>)
> >
> >I found that the project was using spring-core-2.0.5.jar as it's dependency, 
> >and i think it
> >is the reason resulting in the error.
> >
> >actually, when i skip
> >mvn appfuse:full-source
> >
> >the project works fine, and the version of the spring attached to the 
> >project is 2.5.
> >
> >so , it seems that full-source goal makes the diffrence .
> >but how ?
> >
> >and how to solve the problem ?
> >
> >
> >any suggestions will be great appreciated !!!
> >
> >
> >        chinofish
> >[EMAIL PROTECTED]
> >          2008-01-24
>
> = = = = = = = = = = = = = = = = = = = =
>
>
>
>
>
> chinofish
> [EMAIL PROTECTED]
> 2008-01-24
>
>

Reply via email to