Skip to content

01 Project Setup

Julia Damerow edited this page Feb 18, 2022 · 1 revision

Eclipse

To set up this project locally, start by cloning the repository. You can either use Git via the command line, a GUI app, or you can use Eclipse's built-in Git client.

Once the project is cloned and imported into Eclipse, right-click on the project and run Maven > Update Project...

MySQL

Create a new database and user that has access to that database. If you use the following values, you won't have to change the configuration:

  • database name: springaction
  • database user name: tutorial
  • database user password: tutorial

Deploying the project

You should now be able to deploy the project to Tomcat. Right-click on the project, and select "Run As > Run on Server." Create a new server, choose "Apache > Tomcat v9.0 Server" and choose the installation directory of Tomcat 9.0. After you click finish, the server should start up. Keep an eye on the console. If everything is correct, there shouldn't be any exceptions and you should be able to connect at http://localhost:8080/spring-to-action/.

Clone this wiki locally