Is this problem solved? I'm facing exactly the same problem. Is there a
workaround?

regards,
Marcos Maia



chinofish-2 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 ) 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/compile-error-when-after-executing-full-source-goal----how-maven-calculate-the-dependency---tp15059810s2369p19659605.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