OOP project
Steps:
- Open maven toolbar.
- Choose web-app and run test.
- Click on File menu (top left corner).
- Choose Project Structure....
- Click on Modules (left side).
- In the middle, choose the server module.
- Click on Dependencies.
- Click on the green cross (far right).
- Choose Module dependency and click on app.
- Check the box in front of app and choose Runtime.