Spring eclipse project

I am using the Spring Tool Suite (STS) [Version: 3.1.0.RELEASE] to make a Spring project using Spring 3 + Hibernate. I want to use eclipse for this.

What to do? Which eclipse plugin must be installed in eclipse to create a Spring project?

+4
source share
3 answers

According to the Eclipse Marketplace:

  • Open eclipse β†’ Help β†’ Eclipse Marketplace
  • Search for keywords "STS"
  • Click the "Install" button in the "Spring Tool Suite (STS) section for the Eclipse Indigo (3.7)" section
  • Follow eclipse instructions
+1
source

The following is the classic way:

In the Eclipse IDE: click "Help" β†’ "Install New Software ...". Enter "http://springide.org/updatesite" to access the Spring IDE update site.

Select all the Spring IDE features you want to install. And wait when it is needed - that he

0
source

If you already use STS, you can easily create Spring projects - no additional plugins are required. STS is Eclipse with Spring plugins added - don't waste your time doing it manually.

  • From the main menu, select File> New> Other ...
  • Type "Spring" in the search bar.
  • Select "Spring Design Template", click "Next"
  • Open the Persistence node and select the Simple Spring Hibernate Utility Project and follow the instructions in the wizard.

After completing the wizard, you will have a simple Spring / Hibernate project in your workspace.

UPDATE:

Spring projects are simple java projects and are easy to create using only Maven. Add the m2e plugin if you don't already have one, and add the necessary Spring flags depending on your pom.xml file.

M2E comes preloaded with STS, but can be installed in any Eclipse installation. More information on using m2e can be found at http://www.sonatype.org/m2eclipse

0
source

All Articles