Even as Visual Studio and .NET Developers, we must sometimes build tools or apps based on Java. I came across this recently as my team was investigating using a Spring Cloud Config server for server configuration settings. It uses GIT as it’s source of configurations, making maintenance of server settings easier than using a DB, and gives an audit trail of any settings that are changed.
In order to get this server running on my localhost, I wanted to build the project. The easiest way to do that is to install the Spring Tool Suite into Eclipse to create a new project that is already setup.
If you prefer to watch this process on video, check out my youtube channel.
In order to start this, first install the Eclipse IDE if you haven’t already. Note there is no need to download the Zip file for STS. Eclipse has a Marketplace that is similar to NuGet in offering packages for download.
Once you have Eclipse running, use the Marketplace to add the Spring Tools Suite by finding “STS”
Clicking the Install button will give you the following options. Just click Confirm, Accept the License, then Finish.
You will receive the following security warning. Click “Install Anyway”
After a restart, you’re almost there, but not quite. If you right click in the Package Explorer, you will not see the Spring project types.
To get access to the Spring project types, you must set the proper Eclipse Perspective
Once you set that perspective, you can create a new Spring project.
That’s it! No downloading Zip files and trying to figure out where they go to get them installed in the Eclipse environment.