Execute the below command using Gradle from the project directory:
./gradlew tomcatRunAlternatively, if you're using Maven, execute the following command from the project directory:
./mvnw package cargo:runTo test the application, open a web browser and navigate to:
http://localhost:8080

- Try typing an invalid username/password and view the error message.

- Try logging in as an admin (
admin1@example.com/admin1), and view all of the events. Note that we are able to view all the events.
- Try logging out and view the logout success message.

- Try logging in as a regular user (
user1@example.com/user1), and view all of the events. Note that we get an Access forbidden default tomcat page.