question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install AJDT tools

See original GitHub issue

An AspectJ project shows this error:

Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.10:compile (execution: default, phase: compile)

Try to follow the quick fix to install it and got:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Maven Integration for AJDT (Optional) 0.14.0.201506231302 (org.maven.ide.eclipse.ajdt.feature.feature.group 0.14.0.201506231302)
  Missing requirement: Maven Integration for AJDT (Optional) 0.14.0.201506231302 (org.maven.ide.eclipse.ajdt.feature.feature.group 0.14.0.201506231302) requires 'org.eclipse.equinox.p2.iu; org.eclipse.ajdt.core 1.5.0' but it could not be found

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

5reactions
martinlippertcommented, Dec 27, 2018

OK, the problem is not the AJDT m2e connector being outdated or the wrong one, but that it cannot be installed because there is no p2 repository configured from where it can get AJDT itself from (since that is NOT pre-installed in the STS4 distribution).

You can fix that quickly by adding this p2 repository to the Preferences -> Install/Update -> Available Update Sites:

If you hit the quick fix afterwards, it will install the AJDT tooling as well as the m2e connector for it.

0reactions
kriegaexcommented, Jan 28, 2022

Just in case someone digs this one out and is wondering where to find update sites for AJDT and corresponding M2E connector which also work in more recent Eclipse versions - e.g. the current release 2021-12 (4.22) as of writing this - please check this document from the AspectJ documentation:

https://github.com/eclipse/org.aspectj/blob/master/docs/developer/IDE.md#eclipse

AJDT has not been properly maintained for many years, but being kept alive and still does a decent job for most cases minus some glitches, e.g. when using Java modules (JMS, think module-info.java).

Read more comments on GitHub >

github_iconTop Results From Across the Web

AspectJ Development Tools (AJDT) plugin install problem
Ive tried to install AspectJ Development Tools (AJDT) on MyEclipse 2013 ... Cannot complete the install because of a conflicting dependency.
Read more >
AJDT » Cannot install aspectJ into eclipse
I've been trying to get started with aspectJ, however I am unable to install into eclipse from either the download site, or a...
Read more >
Unable to install org.eclipse.ajdt.ui.nature in Spring Tools 4 ...
It offers org.eclipse.ajdt.ui.ajnature as a solution, but the marketplace won't install it. When I try to access it directly through the Eclipse ...
Read more >
[JBIDE-16594] Cannot install Spring IDE AJDT Integration, missing ...
Cannot install Spring IDE AJDT Integration, missing dep org.eclipse.ajdt.core ... Missing requirement: AspectJ Development Tools Core ...
Read more >
AspectJ | IntelliJ IDEA Documentation - JetBrains
To be able to use this technology in your application, download and install the AspectJ plugin following the instructions in section Install ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found