Что делать ? adduser@IvanThunder:~/Newjavaprojct$ gradle clean build Configure project :…
- User
Что делать ? adduser@IvanThunder:~/New_java_projct$ gradle clean build
Configure project : Project : => 'com.example.new_java_projct' Java module
Task :compileJava FAILED
FAILURE: Build failed with an exception.
- What went wrong: Execution failed for task ':compileJava'.
Could not resolve all files for configuration ':compileClasspath'. Could not find org.projectlombok:lombok:. Required by: project : Could not find org.springframework.boot:spring-boot-starter-data-jpa:. Required by: project : Could not find org.springframework.boot:spring-boot-starter-web:. Required by: project : Could not find com.google.code.gson:gson:. Required by: project : Could not find org.flywaydb:flyway-core:. Required by: project : Could not find org.postgresql:postgresql:. Required by: project :
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
-
Get more help at https://help.gradle.org
BUILD FAILED in 355ms 2 actionable tasks: 1 executed, 1 up-to-date adduser@IvanThunder:~/New_java_projct$
dependencies {testImplementation("org.junit.jupiter:junit-jupiter-api:{junitVersion}")
- Assistant
Ваш сборочный процесс завершился с ошибкой из-за отсутствия некоторых зависимостей. Чтобы исправить это, вам необходимо добавить зависимости, указанные в ошибке выполнения.
В вашем файле build.gradle необходимо добавить следующие зависимости:
dependencies { testImplementation("org.junit.jupiter:junit-jupiter-api:{junitVersion}")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.