Spring Eclipse Plugin update site - eclipse

Can anyone point me to spring-eclipse plug-in update location so I can use spring from my Eclipse IDE?
None of the ones I found online are working!

Spring works fine without any special eclipse plugins. Spring have there own version of eclipse called STS (SpringSource Tool Suite) and you could use that. The installation instructions (pdf) for STS include instructions for installing the STS components into an existing Eclipse 3.5 installation.

Related

Spring Starter Project in Eclipse -- Can not use Maven: M2E

Eclipse Luna 4.4.2 with Java JDK 1.7
I installed
Spring IDE plugin version 3.7.3
Pivotal Software Spring Tool Suite(STS 3.7.3)
plugins successfully, have no problem with switching to the Spring perspective and my File->new->projects has several spring related selections.
I have been building using maven with no problems. My maven version is 3.3.3. Checking the Help->Installation Details dialog shows eclipse m2e-workspace 0.3.1
When accessing the Eclipse Marketplace, the dialog shows Maven Integration for Eclipse(Luna and newer) 1.5 and the update button is greyed out and there is an uninstall button, so I have that installed.
When selecting Spring Starter Project, I get the creation dialog box with an error message at the top reading --
Can not import using Maven because Can not use Maven: M2E (Eclipse
Maven Tooling) is not installed
I have also lost my maven sub-menu when I right click on pom.xml. Its no longer there.
Any ideas on a solution before I start removing things/changing things and possibly making things worse? Explanations also welcome.
Thanks
When installing the Spring IDE plugin into Eclipse that already has the maven plugin installed results in a serious conflict as Spring IDE also installs maven. It may be resolvable, but I was unable to find a solution.
I did uninstall the Spring IDE, but the problem was not cleared on Eclipse restart. I deleted the corrupted eclipse installation, while keep its workspace intact.
I finally installed STS w/eclipse and pointed it at my previous workspace.
I had the same issue and I have no idea of how to fix that.
To turnaround the this problem, I downloaded the Spring Tool Suiteā„¢ by the url: http://spring.io/tools/sts/all
This Suite have all the tools to build any Spring project that you'll want.
Hope this work for you.

Is there a way to have autocompletion for Spring Boot application.properties in Eclipse?

I know that this functionnality exists in STS but I would like to know if there is any plugin or configuration to obtain this functionnality in Eclipse.
Since the STS is an Eclipse distribution with a bunch of Spring plugins, you can also install these plugins in any other Eclipse installation. To do that, just add their Update Site into your Eclipse and install the plugins. You can find the links for the Update Site at https://spring.io/tools/sts/all (update sites differ for Eclipse 4.4 and 4.5).
Additionally you can go to the Eclipse Marketplace and install all STS features from there (which will basically convert your Eclipse installation into STS).

Spring project choice doesn't appear after installing STS plugin in Eclipse

I have installed the STS (Spring Tools Suite) plugin in Eclipse Luna in order to create a Spring project.
But the Spring project choice doesn't appear. How is this caused and how can I solve it?
It doesn't show cause after installing it you restarted eclipse without letting it finish installing software (When you install the plugin look at the bar at the bottom of eclipse IDE )
Follow this link and first download fresh STS and follow the steps:
Step 1: Downlaod STS-32 bits windows OS
Step 2: How to create New SPRING MVC project in STS

Issues installing Spring STS in Eclipse Juno

I'm on Windows 7 professional 64b and have just downloaded and installed Eclipse Juno 64b:
Eclipse Java EE IDE for Web Developers.
Version: Juno Service Release 2
Build id: 20130225-0426
I go to Help -> Eclipse Marketplace then search for Spring STS and choose STS for Eclipse Juno (3.8 + 4.2) at this point I get into a deadly loop of not found dependencies and it doesn't matter how many packages I deselect, it will always complain (see below).
I have also tried installing Eclipse for Java Developers instead of Java EE. I have also tried the 32b versions. Finally I have also tried installing from the Spring STS update site http://dist.springsource.com/release/TOOLS/update/e4.2/ and still no luck.
Can anyone advice what's the solution to this problem? maybe I should switch back to Indigo?
Cannot complete the install because one or more required items could not be found.
Software being installed: Spring IDE Spring Data Support 3.2.0.201303060654-RELEASE
(org.springframework.ide.eclipse.data.feature.feature.group 3.2.0.201303060654-RELEASE)
Missing requirement: Spring IDE Live Beans Graph 3.2.0.201303060654-RELEASE
(org.springframework.ide.eclipse.beans.ui.livegraph 3.2.0.201303060654-RELEASE) requires 'bundle org.eclipse.zest.core [1.0.0,2.0.0)' but it could not be found
Cannot satisfy dependency:
From: Spring IDE Spring Data Support 3.2.0.201303060654-RELEASE
(org.springframework.ide.eclipse.data.feature.feature.group 3.2.0.201303060654-RELEASE)
To: org.springframework.ide.eclipse.feature.feature.group 0.0.0
Cannot satisfy dependency:
From: Spring IDE Core (required) 3.2.0.201303060654-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.2.0.201303060654-RELEASE)
To: org.springframework.ide.eclipse.beans.ui.livegraph [3.2.0.201303060654-RELEASE]
Actually avoid the Eclipse download site altogether and get the Spring Tool Suite IDE directly from here: http://www.springsource.org/downloads/sts-ggts. Everything I needed worked smoothly and out of the box: importing Maven projects and running the applications using AspectJ/Spring. It also comes with the critically needed plugins e.g. EGit, m2e, AJDT and everything works perfectly.
I needed this for a new GUI project on top of Spring/Valkyrie RCP.

spring development - with or without eclipse + checking eclipse version

Several tutorials mention that you can download spring in a tarball
and install it on your computer but when I go to the springsource
site all I can see is that you can download Spring Tool Suite
which is an eclipse plugin. So my questions are:
What if I wanted to work from the command line or an IDE other than eclipse?
The packages are available for Juno 3.8.2 or Juno 3.4.2, but how can I find
out my eclipse version? I've downloaded the most frequently downloaded version
of eclipse which is the one for Java EE developers but when I click on the Help
-> About entry I get:
Version: Juno Service Release 2
Build id: 20130225-0426
which does not match the eclipse versions on the springsource site 3.8.2 or 3.4.2,
so how do I know which plugin I need?
Thanks.
You can find out your Eclipse version by going to Help -> About Eclipse...
In the dialog that pops up, you will see something like:
Version 4.2.2
or
Version 3.8.2
If you downloaded the most commonly downloaded version, then you most likely have 4.2.2. The "Juno" release actually has distributions built for both 3.8.x and 4.2.x (a little complicated and confusing, I know). So, you should be able to install the Juno version of STS and be fine no matter what which version of Juno Eclipse you have.
EDIT
Your question is not very clear. I thought you were asking about how to install STS, but maybe you are asking about whether or not Eclipse is necessary at all. The answer is that of course, Eclipse is not necessary for Spring development, but it really is the easiest way to develop your spring apps (disclaimer, I am on the STS dev team).
There is no single way to just "downlaod the SpringFramework" because the framework is really just a very large set of jar files and their dependencies. Any single project typically only requires a subset of them as well as requiring other third party dependencies. For this reason, most people prefer working with a build tool like gradle or maven.
Probably the easiest way to get started w/o STS is to clone one of the sample projects from github. A list of the templates are available here: http://dist.springsource.com/release/STS/help/descriptors-3.0.xml which is obvioulsy meant to be consumed from inside of STS. But, you can use the file to grab links to the various github projects.
The Springsource Tool Suite (STS) is not required for developing with Spring. If the question is how you would install the STS, that's actually very easy. In Eclipse 3.7 (Indigo) or 3.8, 4.2 (Juno), click on the Help menu and select Eclipse Marketplace. If its not in the inital screen, use the find box type spring and click go which should bring up the the STS with the version of eclipse it is for in the title. Click install and the correct version and its dependencies will be installed for you. Try to use the eclipse marketplace for all the plugins you install, if possible. It makes things much simpler