also i get this error to, when i try add jCaptcha, but i used "Struts 2
Modular" and "Spring MVC Basic", at the last i fixed the error with diferent
dependency jCaptcha version.
Perhaps you don't use jCaptcha lib, but it can be some other lib.


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---tp15059810s2369p15066363.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