Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Eclipse configuration questions

Posted on 2014-01-08
Medium Priority
Last Modified: 2014-01-15
I am running Eclipse Galileo on Windows 7 64-bit Professional. I tried installing the latest Eclipse 64-bit version and ran into issues so I went back to Galileo. I am now trying to install Maven and I have the following errors:

Cannot complete the install because of a conflicting dependency.
  Software being installed: m2e - Maven Integration for Eclipse (org.eclipse.m2e.feature.feature.group
  Software currently installed: Eclipse IDE for Java EE Developers (epp.package.jee
  Only one of the following can be installed at once:
    Eclipse Platform 4.3.0.v20130605-2000 (org.eclipse.platform.feature.jar 4.3.0.v20130605-2000)
    Eclipse Platform 4.3.1.v20130911-1000 (org.eclipse.platform.feature.jar 4.3.1.v20130911-1000)
    Eclipse Platform 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ (org.eclipse.platform.feature.jar 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ)
    Eclipse Platform 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB (org.eclipse.platform.feature.jar 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB)
    Eclipse Platform 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7 (org.eclipse.platform.feature.jar 3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7)
  Cannot satisfy dependency:
    From: Eclipse IDE for Java EE Developers (epp.package.jee
    To: org.eclipse.epp.package.jee.feature.feature.group []
  Cannot satisfy dependency:
    From: Java EE IDE Feature (org.eclipse.epp.package.jee.feature.feature.group
    To: org.eclipse.platform.feature.group [3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB]
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse (org.eclipse.m2e.feature.feature.group
    To: org.eclipse.platform.feature.group 3.6.0
  Cannot satisfy dependency:
    From: Eclipse Platform 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB (org.eclipse.platform.feature.group 3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB)
    To: org.eclipse.platform.feature.jar [3.5.2.R35x_v20100210-0800-9hEiFzmFst-TiEn9hNYgDWg1XN8ulH_JvCNGB]
  Cannot satisfy dependency:
    From: Eclipse Platform 4.3.0.v20130605-2000 (org.eclipse.platform.feature.group 4.3.0.v20130605-2000)
    To: org.eclipse.platform.feature.jar [4.3.0.v20130605-2000]
  Cannot satisfy dependency:
    From: Eclipse Platform 4.3.1.v20130911-1000 (org.eclipse.platform.feature.group 4.3.1.v20130911-1000)
    To: org.eclipse.platform.feature.jar [4.3.1.v20130911-1000]

How do I remove the inappropriate versions of the Eclipse platform? Where can I get a good Eclipse tutorial?
Question by:david_m_jacobson
  • 4
  • 3
LVL 17

Expert Comment

ID: 39767229
Under Help/Install New Software the dialog box that displays has a link to What is already installed?

Click on that link and you will see the Eclipse installation details.

You can either view the Installation History and delete installations that have been made since a certain date, or under Installed Software you can select the packages you no longer want.

For example, anything Eclipse 4.3… is the new stuff.

It would be better if you did a clean install of Eclipse 4.3 into a separate directory which would allow you to gradually add bits to get you the configuration you want.

Author Comment

ID: 39767902
I am attaching an image of the installed software. I don't see all the versions for the Eclipse Platform. Where would I find that?
LVL 36

Expert Comment

ID: 39769885
It's hard because we don't have your exact environment to check/test things out but I would say that the main problem might be just that you can't install such a recent version of Maven on such an old version of Eclipse.

I tried installing the latest Eclipse 64-bit version and ran into issues
What were the issues that you had? I would probably advise that it is better to spend you time resolving these issues than trying to get a 4 year old version of Eclipse working. The problem being, that you might eventually get Maven to work with it but then at some point you want to install another plugin and have more issues again!
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 17

Expert Comment

ID: 39769961
Have a look under the features tab.

Author Comment

ID: 39769964
The primary issue I had is that I would run the project's pom.xml as a Maven build and no class files or war file would get generated. Note that I had been able to do this in the past. Something changed that messed up my environment. I installed Kepler today. I have a dumb question...I have a Maven repository with a bunch of jar files. The project's pom.xml uses some of the jar files from my Maven repository. When setting up the project in Eclipse, the Eclipse environment shows a lot of compilation issues because the code references classes in the jar files in my Maven repository. Should I create a lib directory and copy the jar files from my Maven repository to the lib directory and then add this lib directory to my project classpath? If so, how do I make sure that if the Maven repository is updated that the jar file in my lib directory is also updated? I'm just trying to figure out the standard way to set up my project.
LVL 17

Expert Comment

ID: 39769971
In your maven settings.xml file set up the mirrors to point to your maven repository if you are using a repository manager such as Sonatype Nexus or Artifactory.
			<name>Sonatype Nexus</name>

Open in new window

Alternatively set up the localRepository to point to a local directory where maven can store any jars it downloads to your local machine.


Open in new window

You can also set some of these items in your pom.xml if you wish, however standard practice is to have it in a settings.xml locally so that build servers, etc, can be configured slightly differently but still have the same effect.

Then in Eclipse under preferences/Maven/User Settings configure the local repository and local user settings files to the appropriate place.

Author Comment

ID: 39769996
That reminds me that another issue I had with Eclipse Galileo was that when I checked for updates I got an error that the sonatype URL was unavailable. I installed Eclipse IDE for Java Developers. The version is "Kepler Service Release 1." Do you know if I need to install a Maven plug-in or is Maven already integrated? It looks to me like Maven is already integrated. When you refer to settings.xml, where is settings.xml? Is that under my Maven repository in my directory c:\Users\Owner\.m2? Or is that settings.xml in Eclipse's main directory? Or is settings.xml specific to the project? I see a .settings directory under my project. In the .settings directory I have two files: or.g.eclipse.jdt.core.prefs and org.maven.ide.eclipse.prefs. The file org.maven.ide.eclipse.prefs contains:

#Wed Feb 01 10:51:42 EST 2012
resourceFilterGoals=process-resources resources\:testResources

Open in new window

I am attaching a screenshot of the project->properties->Java Build Path->Libraries
LVL 17

Accepted Solution

sweetfa2 earned 2000 total points
ID: 39770008
Read up on how maven .settings files works.  All of the ones you describe are legitimate but there is a hierarchy of order for overriding these values.

There was a changeover in plugins for Maven that changed what got put into a projects .project file that changes the naming convention used for the MAVEN Container as shown in your build path.

In your projects .project file delete the maven builder build commands and build nature, and the re-add maven nature to the project.

That should pick them up correctly.

You man also need to adjust what is in the .classpath file for your project too.

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month14 days, 7 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question