Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8376527
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:27:03+00:00 2026-06-09T15:27:03+00:00

I have Groovy-Eclipse for Juno but my Groovy classes are not able to recognize

  • 0

I have Groovy-Eclipse for Juno but my Groovy classes are not able to recognize any Annotations. I am getting Groovy:class Translation is not an annotation in @Translation.Or Groovy:class Override is not an annotation in @Override For example:

import somewhere.Translation
@Translation(translationContext = TranslationContext.SOMETHING)
class SOMECLASS extends SOMETHING {

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Translation {

Here all the annotations @Target,@Retention and @interface are compiling fine for Translation

I have all the jars included in my project lib. What am I missing here?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:27:05+00:00Added an answer on June 9, 2026 at 3:27 pm

    Looks like you have your project/workspace configured for Java 1.4 or earlier. Annotations are not being recognized since the source level doesn’t allow them.

    Go to Project -> Properties -> Java Compiler. Enable project settings and set the compliance level to 1.5 or later.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying use a Java annotation in a Groovy class but have trouble to
what is the best goovy plugin for eclipse (helios)? I have download Groovy-Eclipse but
I have recently downloaded Eclipse Juno and installed latest Groovy plugin. Now here is
I have a project which uses groovy 1.7.5 and grails 1.3.4. but my new
I have a very simple task I am trying to do in Groovy but
I have a Spring/JPA/Groovy/Hibernate stack, (note: not grails ), and I'm finding that I'm
I have an Eclipse project with many unit tests written in Groovy. I can
I have created a local Groovy project in Eclipse. I am now starting to
I have a Groovy unit test class that has many unit tests. In the
Hi i have the following Groovy code: package fp; abstract class Function { public

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.