Support

Dear reader, if you got someting out of my blog and if it helped you, it would be great if you supported me by clicking on the Google ads-banner at the right. This will not cost you anything but time but will generate a little bit of revenue for my time invested ;)
I'm as well happy if you LIKE or 1+ it and about comments that help to improve my articles.

Thursday, June 9, 2016

Error Checking out Maven Project in Eclipse Mars

Background

I am working in Eclpise (Mars.2 Release (4.5.2)) in an team environment using SVN and Maven. I am new to this environment and I am stumbling every now an then over errors.
One of the first appeared when I tried to check out one of our team's projects from the SVN server by using:

  • "File" -> "New" -> "Other..." -> "Maven" -> "Check out Maven Projects from SCN", or
  • "SVN Repository Exploring" Perspective: Right click on Project -> "Check out as Maven Project..."
In both of the cases I got an error:

'Checking out Maven projects' has encountered a problem.
An internal error occurred during: "Checking out Maven projects"

Error details:

An internal error occurred during: "Checking out Maven projects".
org.eclipse.team.svn.core.operation.file.CheckoutAsOperation.<init>(Ljava/io/File;Lorg/eclipse/team/svn/core/resource/IRepositoryResource;IZZ)V

Solution 

A hint of my colleague solved this (cudos!):

  • Do NOT check out as Maven Project (e.g. in "File" dialog, BUT
  • use SVN Repository Exploring perspective and
  • then use normal "Check out" to check out your project, then
  • change to Java perspective,
  • then right click on your checked out project and
  • choose "Configure" -> "Convert to Maven Project"
Hope than helps - keep on geekin'
WolfiG