I am using the following version of Eclipse IDE:
Eclipse SDK
Version: Luna SR2 (4.4.2)
Build id: M20150204-1700
I have checked out my code using SVN and when I do the following:
Import > general > Existing Projects into Workspace > click on project
I get the error:
"No projects are found to import"
How can I solve this?
In that release, the wizard expects to find .project files defining the projects. If they were not checked in, you can not use that wizard. You have more options under the current release, Oxygen.2, and unless you have a reason to be using a 3 year old version, I'd suggest updating and using the new "Open Projects from File System" wizard.
Related
I recently upgraded to Eclipse Neon. I had a plugin project that built fine in Eclipse Luna, but now in neon, everywhere that I imported "org.eclipse."something I get an error:
The import org.eclipse cannot be resolved.
The plugin.xml has errors etc.
The Project build path has "Plugin Dependencies" on the build path.
My version of Eclipse is
Eclipse IDE for Eclipse Committers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
I'm running on MacOSX High Sierra.
It's probably something very simple.
I have a similar problem every time I upgrade my eclipse installation.
For me the problem can be solved by adjusting the Target platform (can be found in the settings - just search for it) to match the currently running one. For that in most cases I simply add a target platform with default configuration and set that one active.
After a rebuild (normally performed automatically) all those errors are gone.
I know other people have had this problem, but I can't get it to work.
I imported a project from a git and I get an error saying "Project is not a Java project" when adding a class and it doesn't show up in the run config. Project here if it is something wrong with the project and not eclipse. I've heard answers to this with project facet and maven, but I don't have either.
I am running the latest version of eclipse and clean installed it today
The error should be "“Source folder is not a Java project”".
Check the content of your .project and .classpath.
You can modify the .project to add the org.eclipse.jdt.core.javanature manually.
(But adding the java facet should be the recommended way)
regarding the lack of Java facet, make sure your Eclipse has the right Java version support, as described here.
a .project and .classpath can be manually generated or copied from another simple Java Eclispe project.
I moved forward to Eclipse 4.8. My Projects Maven projects under subversion is not displayed as Java Project and the pom.xml is displayed in XML-Editor instead of the well-meant pom-editor.
Steps I done:
Installed eclipse photon
Opend new/empty workspace
Installed subversive from update-site.
Restart
Installed svn-connector SVNKIT from subversive-plugin.
Restart
Checkout project from SVN.
Remove project without delete on HDD.
Import existing maven project from workspace.
Hit "Maven->Update Project..." on all projects in the workspace.
The Project's icon is showing the M-Icon-Overlay let me think it is a maven project. The Project's icon does not contain the J-Icon-Overlay what let me think he does not treat it as a Java project.
Any ideas?
Doesnt work at the moment. I created a workspace in an older version and opend the workspace again in the new eclipse photon. It asks to convert it to the new eclipse's workspace and everything is fine.
I am trying to install maven 1.5 in eclipse unfortunately I am getting errors like:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
To: org.eclipse.m2e.core [1.5.0.20140606-0033]
EClipse juno doesnt support maven 1.5..still they have not added capability of 1.5
so try 1.4 or 1.3
http://download.eclipse.org/technology/m2e/releases/1.3
http://download.eclipse.org/technology/m2e/releases/1.4
MAVEN INSTALLATION
OPTION 1 :
Open Eclipse IDE
Click Help -> Install New Software...
Click Add button at top right corner
At pop up: fill up Name as "M2Eclipse" and Location as http://download.eclipse.org/technology/m2e/releases/1.4
Now click OK
After that installation would be started.
OPTION 2 :-
Open Eclipse
Go to Help -> Eclipse Marketplace
Search by Maven
Click "Install" button at "Maven Integration for Eclipse" section
Follow the instruction step by step
After successful installation do the followings in Eclipse:
Go to Window --> Preferences
Observe, Maven is enlisted at left panel
Finally,
Click on an existing project
Select Configure -> Convert to Maven Project
This is because maven 1.5 is not compatible with eclipse juno.
So we need to use maven 1.4 or 1.3
Steps to install maven 1.4 is below
Click Help in eclipse
Install New Software
Url for the location of site is "http://download.eclipse.org/technology/m2e/releases"
Uncheck the checkbox "Show only the latest versions of available software"
if do not uncheck the checkbox it will only latest version and do not show maven 1.4.
Select m2e and slf4j of 1.4 version and click next.
Note: maven v 1.3 is compatible, correct url for juno: download.eclipse.org/technology/m2e/releases/1.3
If all the above options don't work, then first install the WST plugin in your eclipse.
In order to do that, in Eclipse Juno, go to Install New Software > Add, under Name place Juno and under Location URL insert http://download.eclipse.org/releases/juno.
Then, select WST Server Adapters under Web, XML, Java, ... (last option of the list).
Accept licensing agreement and restart Eclipse.
Then resume the usual procedure to install Maven.
Choose menu Help \ Install New Software..., then add this repository link:
http://download.eclipse.org/technology/m2e/releases/1.2/1.2.0.20120903-1050/
Then install for Eclipse WTP (Web Tool Platform) Juno 4.2.
Uncheck the option "Select only the latest version of this software", so that versions of the plugin compatible to your eclipse will be displayed, you can select one of them.
download.eclipse.org/technology/m2e/releases/1.3 has worked for
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2
Build id: 20120216-1857
Thanks
I installed JUNO Eclipse and then wanted to get the maven plugin for eclipse. After some searching I got to know that I can install the plugin using eclipse market place. So I searched the plugin and installed it successfully but when I restarted eclipse, I cannot see Maven option when I right click on any project. When I click on WINDOWS--> PREFERENCES , I can see the Maven option there. It means, maven got installed but not sure if completely.
I reinstalled it again but still no luck. Can anyone help?
FYI, I am using maven 3.0.4
If your project is still a standard Java project, then you have to enable Maven for this project. You can do this by right-clicking on the project, then choose Configure -> Convert to Maven project. Then you have to type group id, artifact id etc. and the pom.xml is created for you.
You need to make sure you have installed the Java JDK and add it to the Preferences -> Java -> Installed JREs.