@Log or @Log4j Annotation not accepted

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

@Log or @Log4j Annotation not accepted

Susanne Jaeckel
Hello,

I've currently activated the 1.8.2 groovy compiler in my eclipse installation.

But if I try to use the @Log or @Log4j Annotation, eclipse displays the following error-messages:

Groovy:class Log4j is not an annotation in @Log4j
Groovy:unable to resolve class Log4j, unable to find class for annotation

Annotations like @Singleton are working.

Do I miss something? (Log4j is actually in the classpath of the project)

Thanks in advance.

Best regards,
Susanne.



--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
Reply | Threaded
Open this post in threaded view
|

Re: @Log or @Log4j Annotation not accepted

Andrew Eisenberg
The error messages you see come about when the classpath does not
contain the specified annotation.  It could be that the groovy
libraries are not on the classpath.

If you can't figure out what's wrong, feel free to raise a jira and
attach a small project that is failing for you.

On Sat, Dec 10, 2011 at 4:38 PM, Susanne Jaeckel <[hidden email]> wrote:

> Hello,
>
> I've currently activated the 1.8.2 groovy compiler in my eclipse
> installation.
>
> But if I try to use the @Log or @Log4j Annotation, eclipse displays the
> following error-messages:
>
> Groovy:class Log4j is not an annotation in @Log4j
> Groovy:unable to resolve class Log4j, unable to find class for annotation
>
> Annotations like @Singleton are working.
>
> Do I miss something? (Log4j is actually in the classpath of the project)
>
> Thanks in advance.
>
> Best regards,
> Susanne.
>
>
>
> --
> Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
> belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email