Hi,
I'm trying to integrate JCaptcha in the signupForm base on the following
JSF/JCaptcha tutorial.
http://www.emforge.org/wiki/ImplementingCaptchaWithJSF.
When I compile the project it now gives me the following error :
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Compiler errors :
error at Table table = AnnotationUtils.findAnnotation(User.class,
Table.class);
^^^^^
C:\dev\sources\myproject\src\main\java\com\consultyinnovation\app\dao\hibernate\UserDaoHibernate.java:85:0::0
The method findAnnotation(Method, Class ) in the type AnnotationUtils is not
applicable for the arguments (Class<User>, Class<Table>)
error at addError(me.getMostSpecificCause().getMessage());
^^^^^^^
C:\dev\sources\myproject\src\main\java\com\consultyinnovation\app\webapp\action\SignupForm.java:87:0::0
The method getMostSpecificCause() is undefined for the type MailException
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Compiler errors :
error at Table table = AnnotationUtils.findAnnotation(User.class,
Table.class);
^^^^^
C:\dev\sources\myproject\src\main\java\com\consultyinnovation\app\dao\hibernate\UserDaoHibernate.java:85:0::0
The method findAnnotation(Method, Class ) in the type AnnotationUtils is not
applicable for the arguments (Class<User>, Class<Table>)
error at addError(me.getMostSpecificCause().getMessage());
^^^^^^^
C:\dev\sources\myproject\src\main\java\com\consultyinnovation\app\webapp\action\SignupForm.java:87:0::0
The method getMostSpecificCause() is undefined for the type MailException
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.codehaus.mojo.aspectj.CompilationFailedException: Compiler
errors :
error at Table table = AnnotationUtils.findAnnotation(User.class,
Table.class);
^^^^^
C:\dev\sources\myproject\src\main\java\com\consultyinnovation\app\dao\hibernate\UserDaoHibernate.java:85:0::0
The method findAnnotation(Method, Class ) in the type AnnotationUtils is not
applicable for the arguments (Class<User>, Class<Table>)
error at addError(me.getMostSpecificCause().getMessage());
^^^^^^^
C:\dev\sources\myproject\src\main\java\com\consultyinnovation\app\webapp\action\SignupForm.java:87:0::0
The method getMostSpecificCause() is undefined for the type MailException
at
org.codehaus.mojo.aspectj.AbstractAjcCompiler.execute(AbstractAjcCompiler.java:382)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
Does someone has any idea?
Thanks Yves
--
View this message in context:
http://www.nabble.com/JCaptcha-appfuse-2.0.2---JSF-tp18368839s2369p18368839.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]