Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/397.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java spring clound eureka服务器依赖项错误gradle intellij_Java_Spring Boot_Spring Cloud Netflix - Fatal编程技术网

Java spring clound eureka服务器依赖项错误gradle intellij

Java spring clound eureka服务器依赖项错误gradle intellij,java,spring-boot,spring-cloud-netflix,Java,Spring Boot,Spring Cloud Netflix,我无法将spring cloud netflix eureka服务器添加为gradle项目(IDE Intellij)中的依赖项 请在下面找到gradle构建消息 > Configure project : The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the im

我无法将
spring cloud netflix eureka服务器添加为gradle项目(IDE Intellij)中的依赖项

请在下面找到gradle构建消息

        > Configure project : The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
at build_5fewyf5k4gqf0wzmewce4q3ow$_run_closure3.doCall(D:\AngularCourse\core-services\build.gradle:30)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)

正如错误消息所示,Gradle 7.0中不推荐使用
compile
配置。请改用
实现

检查文档-

        > Configure project : The compile configuration has been deprecated for dependency declaration. This will fail with an error in Gradle 7.0. Please use the implementation configuration instead. Consult the upgrading guide for further information: https://docs.gradle.org/6.4.1/userguide/upgrading_version_5.html#dependencies_should_no_longer_be_declared_using_the_compile_and_runtime_configurations
at build_5fewyf5k4gqf0wzmewce4q3ow$_run_closure3.doCall(D:\AngularCourse\core-services\build.gradle:30)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)