- Import -> Maven -> Existing Maven projects
- Browse -> ... Finish
- Run -> Run configurations
- Maven Build -> New launch configuration
- Name: roommates
- Base directory: ${workspace_loc:/Roommates}
- Goals: tomcat7:run
- Profiles: pom.xml
- Run (this saves the configuration)
- jdbc.driverClassName=com.mysql.jdbc.Driver
- jdbc.url=jdbc:mysql://localhost:3306/roommates?useUnicode=true&characterEncoding=UTF-8
- jdbc.username=root
- jdbc.password=admin