installing maven with eclipse - java

I'm trying to install Maven integration plugin in Eclipse Helios. But I am getting error like
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.feature.feature.group 1.4.1.20140328-1905)
Missing requirement: async-http-client 1.6.5.20140328-1501 (com.ning.async-http-client 1.6.5.20140328-1501) requires 'package org.slf4j 1.6.2' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.feature.feature.group 1.4.1.20140328-1905)
To: com.ning.async-http-client [1.6.5.20140328-1501]

Solve my problem. May be this will be helpful for some of you guys
add this link to your eclipse and it will work.
http://download.eclipse.org/technology/m2e/releases/1.3

Related

Install AspectJ Eclipse

I'm trying to get started with aspect oriented programming.
I'm using latest eclipse (currently 12-2019)
public aspect Observer {
}
This Results in an error
Syntax error on token "aspect", interface expected
According to https://www.eclipse.org/ajdt/downloads
I added
http://download.eclipse.org/tools/ajdt/43/update
as an update site to eclipse
However eclipse tells me that some parts could not be installed
It looks Like some parts are missing
Cannot complete the install because one or more required items could
not be found. Software being installed: AspectJ Development Tools
2.2.3.e43x-RELEASE-20130627-0800 (org.eclipse.ajdt.feature.group 2.2.3.e43x-RELEASE-20130627-0800) Missing requirement: AspectJ 1.7.3.20130613144500-a (org.aspectj.ajde 1.7.3.20130613144500-a) requires 'osgi.bundle; org.eclipse.core.runtime.compatibility 0.0.0'
but it could not be found Cannot satisfy dependency:
From: AspectJ Compiler 1.7.3.20130613144500-a (org.aspectj.feature.group 1.7.3.20130613144500-a)
To: org.eclipse.equinox.p2.iu; org.aspectj.ajde [1.7.3.20130613144500-a,1.7.3.20130613144500-a] Cannot satisfy
dependency:
From: AspectJ Development Tools 2.2.3.e43x-RELEASE-20130627-0800 (org.eclipse.ajdt.feature.group 2.2.3.e43x-RELEASE-20130627-0800)
To: org.eclipse.equinox.p2.iu; org.aspectj.feature.group [1.7.3.20130613144500-a,1.7.3.20130613144500-a]
How could I Get Aspects to run in Eclipse?
Could you help me out?
Your problem caused by the removal of org.eclipse.core.runtime.compatibility plugin from Eclipse 4.6 .
Read more about this problem here.
The correct solution is to:
Install AspectJ from the correct download link.
The most updated to Eclipse 4.10 is: http://download.eclipse.org/tools/ajdt/410/dev/update
Another solution is to:
Uninstall Eclipse.
Install Eclipse 4.3 (matching your AspectJ version) .
Retry AspectJ install.
The more complex solution is:
Locate and build/extract org.eclipse.core.runtime.compatibility jar file from Maven repository.
Put org.eclipse.core.runtime.compatibility jar file into Eclipse plugins directory.
Run eclipse in --clean mode to rebuild and register the added plugin.
Retry AspectJ install.
You might encounter more missing dependencies for org.eclipse.core.runtime.compatibility, eventually will have to load all the related plugins (long effort).

Eclipse Maven Integration archetype is not on the list

I am following Java Brains' Maven tutorials to learn maven. In the tutorials, when creating a new Maven Project, and searching "webapp", there will be an artifact with an id "javaee6" (and many others).
However, in my case, I only see 2 archetypes:
I am using Eclipse Luna (4.4.1) with the latest version of Eclipse Maven Integration.
What is wrong here, and how can I resolve this problem?
These archetypes are available in maven central. http://repo1.maven.org/maven2/archetype-catalog.xml
To add this catalog go to: Window / Preferences / Maven / Archetype / Add Remote Catalog...

Eclipse Gradle plugin not installing

I have been trying to add Gradle plugin for eclipse but it shows error. Any help would be appreciated.
check screenshot http://io.putul.me/Ha5Jbc
The detail box has the following information.
Cannot complete the install because one or more required items could not be found.
Software being installed: Spring UAA Integration (optional) 3.6.1.201408250654-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.1.201408250654-RELEASE)
Missing requirement: Spring UAA Integration 3.6.1.201408250654-RELEASE (org.springframework.ide.eclipse.uaa 3.6.1.201408250654-RELEASE) requires 'package org.springframework.uaa.client 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Spring UAA Integration (optional) 3.6.1.201408250654-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.1.201408250654-RELEASE)
To: org.springframework.ide.eclipse.uaa [3.6.1.201408250654-RELEASE]
the same problem happened to me but after updating eclipse to version 4.4 - put in help >> install new software http://download.eclipse.org/eclipse/updates/4.4 - the gradle installed correctly

Maven integrating in Eclipse RAD impossible

I'm using RAD and since the morning I'm trying to integrate Maven with Eclipse(RAD) by using that command:
Help -> Instal New Software, then putting this link:
http://download.eclipse.org/m2e-wtp/releases/
then checked "Maven integration for Eclipse"
the errors occured below:
Cannot complete the install because of a conflicting dependency.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 ( org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Software currently installed: Shared profile 1.0.0.1376390079411 (SharedProfile_bootProfile 1.0.0.1376390079411)
Only one of the following can be installed at once:
Eclipse Jobs Mechanism 3.5.2.R36x_v20110419 (org.eclipse.core.jobs 3.5.2.R36x_v20110419)
Eclipse Jobs Mechanism 3.5.300.v20130429-1813 (org.eclipse.core.jobs 3.5.300.v20130429-1813)
Eclipse Jobs Mechanism 3.5.101.v20120113-1953 (org.eclipse.core.jobs 3.5.101.v20120113-1953)
Cannot satisfy dependency:
From: Shared profile 1.0.0.1376390079411 (SharedProfile_bootProfile 1.0.0.1376390079411)
To: org.eclipse.core.jobs [3.5.2.R36x_v20110419]
Cannot satisfy dependency:
From: Equinox Provisioning Discovery 1.0.101.v20130327-2119 (org.eclipse.equinox.p2.discovery.compatibility 1.0.101.v20130327-2119)
To: bundle org.eclipse.equinox.p2.transport.ecf 1.0.0
Cannot satisfy dependency:
From: Equinox Provisioning ECF based Transport 1.1.0.v20130516-1858 (org.eclipse.equinox.p2.transport.ecf 1.1.0.v20130516-1858)
To: bundle org.eclipse.core.jobs 3.5.100
Cannot satisfy dependency:
From: m2e Marketplace 1.4.0.20130601-0317 (org.eclipse.m2e.discovery 1.4.0.20130601-0317)
To: bundle org.eclipse.equinox.p2.discovery.compatibility 0.0.0
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.discovery [1.4.0.20130601-0317]
I have no idea what mentioned "Eclipse Jobs Mechanism... " is I can't find its in the installed software.
Tried to use another repositories like:
http://bitstrings.github.com/m2e-connectors-p2/releases
http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.15.0/N/0.15.0.201207090125/
They let me start the instalation but It's stop in +/- 40 %...
Anyone could help me install Maven in my IDE?
Thank You in advance
Did you use the maven installation instructions by IBM?
https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/2fad2df2-9c68-4aa3-abba-01e910211998/page/5531e600-93c7-46f6-86f4-a570b1bcf391/attachment/9f11dc95-a9ae-4522-9ed1-2c8a7ca165cd/media/RAD_m2e-Nov(update%20Jun%202012).pdf
I have ceased installing m2e within RAD "myself" (in the sense of using an update site in Install New Software). Rather I use the option "Maven" via the IBM Installation Manager.
Is there any particular reason you are installing Maven using that update site link instead of installing it using Installation Manager? To install Maven using Installation Manager you just need to open IM and select the checkbox for Maven.
In case somebody still has to use this old version of RAD:
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/ does not work - it points to the latest version of m2e which requires a newer base-eclipse.
Instead, add all of the following locations:
http://download.eclipse.org/technology/m2e/releases/1.4/
http://download.jboss.org/jbosstools/updates/m2e-extensions/m2eclipse-wtp/
http://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-mavenarchiver/

Problems installing m2eclipse plugin to Indigo: 'bundle org.eclipse.zest.core 0.0.0' could not be found

From Indigo Available Software screen I select maven integration for Eclipse , then Next. got the following error message (blank lines added for readability):
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
Missing requirement: Maven Integration for Eclipse (Editors) 0.12.1.20110112-1712 (org.maven.ide.eclipse.editor 0.12.1.20110112-1712) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
To: org.maven.ide.eclipse.editor [0.12.1.20110112-1712]
You probably have an old update site. Version 1.0 is already available and your log shows 0.12.x. Check: http://eclipse.org/m2e/download/
Use: http://download.eclipse.org/technology/m2e/releases

Categories