Когда я. пытаюсь запустить Spring intializr, используя ./mvnw Spring-Boot:run. это показывает ошибкуJAVA

Программисты JAVA общаются здесь
Anonymous
Когда я. пытаюсь запустить Spring intializr, используя ./mvnw Spring-Boot:run. это показывает ошибку

Сообщение Anonymous »

Код: Выделить всё

[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.3.2:run (default-cli) on project initializr: Unable to find a suitable main class, please add a 'mainClass' property -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Пожалуйста, помогите мне с этим.


Подробнее здесь: https://stackoverflow.com/questions/787 ... n-it-showi

Вернуться в «JAVA»