ObjectDB ObjectDB

Spring MVC JPA Tutorial - Eclipse Project

To open and run the Spring MVC JPA tutorial project in Eclipse:

  • Download and extract the project zip file:

    Spring MVC JPA - Maven Project (8KB)

  • Open the Maven project in Eclipse:
    Select File > Import... > Maven > Existing Maven Projects and click Next.
    Select the guestbook-spring directory as Root Directory and press ENTER.
    Select the project and click Finish.
  • Run the project in Eclipse:
    Right click the project node and select Run As > Run On Server.
    (this command is available only if Maven Integration for WTP is installed when the Maven project is imported into the IDE).
    Choose or define the server and click Finish.
  • Eclipse should open an internal browser window, but if it doesn't work properly - open an external browser at http://localhost:8080/Guestbook/.