Mflix help needed. Unable to properly build app

Followed instructions as per documentation, on mongo uni, to set up mflix app. I set up the application.properties with correct srv. Run from terminal with “mflix spring-boot: run”. Maven builds the application fine. But, when springboot kicks in terminal just throws errors. Would appreciate any help fixing it.

errors from terminal after running the program.

1 Like

InvocationTargetException seems to indicate that the syntax of the command you entered is wrong.

Share the command line you typed so we can see. Please post a screenshot. I suspect the extra space between spring-boot: and run might be the culprit.

was toying around with my mac, and i had the same exact error, the error went away when i downgraded my java version to 1.8! i’m pretty sure that’s the problem, it was on 1.16