'SpringBoot getting error while compiling using command line

im having problem in compiling a Spring Boot web appliaction from Windows CLI. so what i am doing is learning Spring Boot from official site from scratch. here is the link of the mission: https://docs.spring.io/spring-boot/docs/2.1.9.RELEASE/reference/html/getting-started-first-application.html

here is the "pom.xml" file content: enter image description here

here is the "/src/main/java/Example.java" file content: enter image description here

and here is the CLI Problem when i try to run spring-boot:run enter image description here

note my working file is : Desktop/work



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source