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

  • Home
  • SEARCH
  • 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 8247597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:54:06+00:00 2026-06-07T22:54:06+00:00

How to configure IntelliJ IDEA correctly to process annotations? Using the maven target processor:process

  • 0

How to configure IntelliJ IDEA correctly to process annotations?

Using the maven target processor:process works fine, but how do I process without using the maven target in IntelliJ IDEA (using it’s Annotation Processing preferences)?

Under IntelliJ’s preferences / Annotation Processors, I have the following setting:
“Enable annotation processing” is checked, with option “Obtain processors from project classpath“

I leave the “Annotation Processors” section empty, since it should be found through the classpath automatically I assume.
Under processed module I select my Android module and ‘target/generated-sources/apt‘ as the ‘Generated Sources Directory Name‘.

In my project structure, I have the module dependencies “Maven: com.googlecode.androidannotations:androidannotations:2.6” and “Maven: com.googlecode.androidannotations:androidannotations:api:2.6” set so that I have the processor in my classpath.

But building the project doesn’t process the annotations, and instead I get a warning ‘Annotation processing without compilation requested but no processors were found.‘

And if I try to set the Annotation Processor manually to ‘com.googlecode.androidannotations.AndroidAnnotationProcessor‘ and choosing ‘/path/to/libs/androidannotations-2.6-api.jar‘ as the path to the processor, I’m getting the error “Annotation processor ‘com.googlecode.androidannotations.AndroidAnnotationProcessor‘ not found” when trying to build the project.

This is my config in screenshots: http://imageshack.us/photo/my-images/841/intellijaa.png/

enter image description 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-07T22:54:07+00:00Added an answer on June 7, 2026 at 10:54 pm

    I still haven’t gotten it to work using "Obtain processors from project classpath", but it’s working now when selecting the path/jar to the processor manually.

    I had actually tried that before but my mistake was that I had selected the AA-api.jar instead of the regular AA.jar.

    Thanks to Dave, who gave a hint via screenshot on the AA google groups:

    https://groups.google.com/forum/?fromgroups#!topic/androidannotations/PnAWuSQHkhg

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

Sidebar

Related Questions

Related question How to configure IntelliJ IDEA and/or Maven to automatically add directories with
Iam in the process of learning Scala using IntelliJ IDEA 10.0.x with scala plugin
I'm using IntelliJ IDEA 9, Is there a way to configure IDEA so that
I'm using intelliJ IDEA 9. It has a function to make a copyright profile
I am learning circumflex orm and using maven with idea for the first time.
IntelliJ Idea 10.5.0 WebLogic Run/Debug configuration documentation mentions context dropdown. I am using 10.5.2
I'm using Intellij Idea 9.0.4 on a Mac. I'm having trouble getting the Git
I'm working with a plugin for Jetbrain's Webstorm, and we're using IntelliJ IDEA as
I'm a front end developer who's recently started using IntelliJ Idea for JS development.
I've noticed that IntelliJ IDEA 9 runs as a 32-bit process in Windows 2003

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.