maven install 出现 not found: G:\jdk\..\lib\tools.jar -> [Help 1] 等问题

本文介绍了如何正确配置Java开发环境,包括区分JRE与JDK的功能,并详细解释了tools.jar的作用及其在不同环境下的配置方法。
转自:http://blog.youkuaiyun.com/thebestleo/article/details/50658791
ools.jar 在jdk下的lib中。
先说一下jdk和jre的区别:
Jre是运行环境,及编译后的java程序运行时只需要jre就行了;
jdk是开发环境,当你开发java程序时需要用jdk。Jdk包括了jre,及 java程序运行有jre或jdk都可以,但jdk包括了在开发过程中需要的工具。如果只是运行java程序,只要jre就行了,因为jre要比jdk省空间。 我在配置java环境时一般都将D:\jdk6\bin目录直接加入环境变量就可以了,这对java编译环境已经可以满足要求。但ant需要tools.jar
最好是配置环境变量时:JAVA_HOME =C:\Program Files\Java\jdk1.6.0_10 

classpath =.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar 这样在运行ant编译程序时就不会出问题。

但是为了绕过更改环境变量的问题,我直接把JDK文件夹中的tools.jar复制到了jre\lib下

当然也可以直接再eclipse中修改,如下:

不用jre,直接用jdk。我们安装jdk时,一般是分两步,第一步是保存到本地的jdk目录,第二部是保存到本地的jre目录,注意二者要安在不同的目录下,很多人在给eclipse配置的时候,如上图位置配置的可能是jre,而jre中又没有tool.jar这个包,所以就保存,因此小编的建议是直接配置jdk的目录位置。

当然也可以从网上下载或从jkd的lib报下拷贝tool到下图位置:


D:\Java\jdk-21.0.2\bin\java.exe -Dmaven.multiModuleProjectDirectory=D:\java\code\GApiGCES_JDK21 -Djansi.passthrough=true -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true -Dmaven.resolver.transport=wagon -Dmaven.home=D:/java/maven/apache-maven-3.9.0 -Dclassworlds.conf=D:\java\maven\apache-maven-3.9.0\bin\m2.conf "-Dmaven.ext.class.path=D:\tools\IntelliJ IDEA 2025.1.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\tools\IntelliJ IDEA 2025.1.3\lib\idea_rt.jar=51689" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath D:\java\maven\apache-maven-3.9.0\boot\plexus-classworlds-2.6.0.jar;D:\java\maven\apache-maven-3.9.0\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2025.1.3 -s D:\java\code\GApiGCES_JDK21\settings.xml -Dmaven.repo.local=D:\java\maven\repository package [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] GaiaApiGC [pom] [INFO] gaia-apigc-i18n [jar] [INFO] gaia-apigc-config [jar] [INFO] gaia-apigc-standard [pom] [INFO] gaia-apigc-domain [jar] [INFO] gaia-apigc-infrastructure [jar] [INFO] gaia-apigc-api [jar] [INFO] gaia-apigc-client [jar] [INFO] gaia-apigc-service [jar] [INFO] gaia-apigc-adapter [jar] [INFO] gaia-apigc-app [jar] [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-parent >--------------- [INFO] Building GaiaApiGC 1.0.0-SNAPSHOT [1/11] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-parent --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-parent --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-parent --- [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-parent --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-parent --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-parent --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] ---------------< com.huawei.cbgit.gaia:gaia-apigc-i18n >---------------- [INFO] Building gaia-apigc-i18n 1.0.0-SNAPSHOT [2/11] [INFO] from gaia-apigc-i18n\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-i18n --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-i18n --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-i18n --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-i18n --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-i18n --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-i18n --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-i18n --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-i18n --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-i18n --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-i18n --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-i18n --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-i18n --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-i18n\target\gaia-apigc-i18n-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-config >--------------- [INFO] Building gaia-apigc-config 1.0.0-SNAPSHOT [3/11] [INFO] from gaia-apigc-config\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-config --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-config --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-config --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-config --- [INFO] Copying 10 resources from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-config --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-config --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-config --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-config --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-config\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-config --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-config --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-config --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-config --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-config\target\gaia-apigc-config-1.0.0-SNAPSHOT.jar [INFO] [INFO] -------------< com.huawei.cbgit.gaia:gaia-apigc-standard >-------------- [INFO] Building gaia-apigc-standard 1.0.0-SNAPSHOT [4/11] [INFO] from gaia-apigc-standard\pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-standard --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-standard --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-standard --- [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-standard --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-standard --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-standard --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-domain >--------------- [INFO] Building gaia-apigc-domain 1.0.0-SNAPSHOT [5/11] [INFO] from gaia-apigc-standard\gaia-apigc-domain\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-domain --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-domain --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-domain --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-domain --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-domain --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 100 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/common/consts/ApplicationAssetsConfigEnum.java: 某些输入文件使用或覆盖了已过时的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/common/consts/ApplicationAssetsConfigEnum.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/utils/ThreadLocalUtils.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\src\main\java\com\huawei\it\gaia\apigc\domain\utils\ThreadLocalUtils.java使用了未经检查或不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-domain/src/main/java/com/huawei/it/gaia/apigc/domain/utils/ThreadLocalUtils.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-domain --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-domain --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-domain --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-domain --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-domain --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-domain --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-domain --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-domain\target\gaia-apigc-domain-1.0.0-SNAPSHOT.jar [INFO] [INFO] ----------< com.huawei.cbgit.gaia:gaia-apigc-infrastructure >----------- [INFO] Building gaia-apigc-infrastructure 1.0.0-SNAPSHOT [6/11] [INFO] from gaia-apigc-standard\gaia-apigc-infrastructure\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-infrastructure --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-infrastructure --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-infrastructure --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-infrastructure --- [INFO] Copying 43 resources from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-infrastructure --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 77 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/scheduledtask/TaskGateway.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\src\main\java\com\huawei\it\gaia\apigc\infrastructure\scheduledtask\TaskGateway.java使用或覆盖了已过时的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/scheduledtask/TaskGateway.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/api/ApiGateway.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\src\main\java\com\huawei\it\gaia\apigc\infrastructure\api\ApiGateway.java使用了未经检查或不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-infrastructure/src/main/java/com/huawei/it/gaia/apigc/infrastructure/api/ApiGateway.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-infrastructure --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-infrastructure --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-infrastructure --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-infrastructure --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-infrastructure --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-infrastructure --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-infrastructure --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-infrastructure\target\gaia-apigc-infrastructure-1.0.0-SNAPSHOT.jar [INFO] [INFO] ----------------< com.huawei.cbgit.gaia:gaia-apigc-api >---------------- [INFO] Building gaia-apigc-api 1.0.0-SNAPSHOT [7/11] [INFO] from gaia-apigc-standard\gaia-apigc-api\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-api --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-api --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-api --- [INFO] [INFO] --- service-codegen:4.0.0.0:generate (model-generate) @ gaia-apigc-api --- [INFO] Use `inputSpec` tag to find yaml files. [INFO] Fuzzy search for path: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/resources/yamls/*.yaml [INFO] Fuzzy search. basePath=null, subPathOrFile=["D:\\java\\code\\GApiGCES_JDK21\\gaia-apigc-standard\\gaia-apigc-api","src","main","resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api, subPathOrFile=["src","main","resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src, subPathOrFile=["main","resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main, subPathOrFile=["resources","yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources, subPathOrFile=["yamls","*.yaml"] [INFO] Fuzzy search. basePath=D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls, subPathOrFile=["*.yaml"] [INFO] All yaml file: [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\api-assets-his.yaml [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\common.yaml [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\health-check.yaml [INFO] D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\schedule-task-v2.yaml [INFO] Use this file as base yaml and merge content. D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\main\resources\yamls\api-assets-his.yaml [INFO] Gen service code for jaxrs-cxf writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\ApiAssetsHisRequest.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\FilterVO.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\ScheduledTaskRequest.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com/huawei/it/gaia/apigc/api/rest/model\ParamsKeyValue.java [INFO] Tag add path:HealthCheckController Path:/HealthCheckController/v1/health/check/ [INFO] Tag add path:IApiAssetsHisService Path:/IApiAssetsHisService/v1/api-assets/his/{pageSize}/{curPage}/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/edit/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/execute/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/list/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/logs/{pageSize}/{pageNum}/ [INFO] Tag add path:IScheduledTaskControllerService Path:/IScheduledTaskControllerService/v1/scheduled-task/table/ [INFO] tag:IScheduledTaskControllerService's base path is /IScheduledTaskControllerService/v1/scheduled-task [INFO] tag:IApiAssetsHisService's base path is /IApiAssetsHisService/v1/api-assets/his [INFO] tag:HealthCheckController's base path is /HealthCheckController/v1/health/check [INFO] apiService=====D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IApiAssetsHisService.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IApiAssetsHisService.java [INFO] apiService=====D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/HealthCheckController.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/HealthCheckController.java [INFO] apiService=====D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IScheduledTaskControllerService.java writing file D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api/src/main/java/com\huawei\it\gaia\apigc\api\rest\service/IScheduledTaskControllerService.java [INFO] Gen sdk code [INFO] Client code does not need to generate! [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-api --- [INFO] Copying 4 resources from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-api --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 7 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-api --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-api --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-api --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-api --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-api --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-api --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-api --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-api\target\gaia-apigc-api-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-client >--------------- [INFO] Building gaia-apigc-client 1.0.0-SNAPSHOT [8/11] [INFO] from gaia-apigc-standard\gaia-apigc-client\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-client --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-client --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-client --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-client --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-client --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed source code. [INFO] Compiling 61 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/apigc/clouddragon/CloudDragonClient.java: 某些输入文件使用或覆盖了已过时的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/apigc/clouddragon/CloudDragonClient.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/util/HttpClientUtils.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\src\main\java\com\huawei\it\gaia\apigc\client\util\HttpClientUtils.java使用了未经检查或不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-client/src/main/java/com/huawei/it/gaia/apigc/client/util/HttpClientUtils.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-client --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-client --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-client --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-client --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-client --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-client --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-client --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-client\target\gaia-apigc-client-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-service >-------------- [INFO] Building gaia-apigc-service 1.0.0-SNAPSHOT [9/11] [INFO] from gaia-apigc-standard\gaia-apigc-service\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-service --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-service --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-service --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-service --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-service --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 83 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [WARNING] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/api/assets/dto/ApiAssetsHisReqDTO.java:[19,1] Generating equals/hashCode implementation but without a call to superclass, even though this class does not extend java.lang.Object. If this is intentional, add '@EqualsAndHashCode(callSuper=false)' to your type. [WARNING] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/transform/EamapDBDataChecker.java:[133,17] java.security 中的 java.security.AccessController 已过时, 且标记为待删除 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/api/assets/GetApiAssetsHisService.java: 某些输入文件使用或覆盖了已过时的 API。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/api/assets/GetApiAssetsHisService.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/transform/EamapDBDataChecker.java: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\src\main\java\com\huawei\it\gaia\apigc\service\transform\EamapDBDataChecker.java使用了未经检查或不安全的操作。 [INFO] /D:/java/code/GApiGCES_JDK21/gaia-apigc-standard/gaia-apigc-service/src/main/java/com/huawei/it/gaia/apigc/service/transform/EamapDBDataChecker.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-service --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-service --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-service --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-service --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-service --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-service --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-service --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-service\target\gaia-apigc-service-1.0.0-SNAPSHOT.jar [INFO] [INFO] --------------< com.huawei.cbgit.gaia:gaia-apigc-adapter >-------------- [INFO] Building gaia-apigc-adapter 1.0.0-SNAPSHOT [10/11] [INFO] from gaia-apigc-standard\gaia-apigc-adapter\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-adapter --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-adapter --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-adapter --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-adapter --- [INFO] Copying 1 resource from src\main\resources to target\classes [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-adapter --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 4 source files with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-adapter --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-adapter --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-adapter --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-adapter --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] No sources to compile [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-adapter --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-adapter --- [INFO] No tests to run. [INFO] [INFO] --- jar:3.4.2:jar (default-jar) @ gaia-apigc-adapter --- [INFO] Building jar: D:\java\code\GApiGCES_JDK21\gaia-apigc-standard\gaia-apigc-adapter\target\gaia-apigc-adapter-1.0.0-SNAPSHOT.jar [INFO] [INFO] ----------------< com.huawei.cbgit.gaia:gaia-apigc-app >---------------- [INFO] Building gaia-apigc-app 1.0.0-SNAPSHOT [11/11] [INFO] from gaia-apigc-app\pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- properties:1.0.0:read-project-properties (default) @ gaia-apigc-app --- [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-app\package.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-app\api.cxf.properties [INFO] Quiet processing - ignoring properties cannot be loaded from File: D:\java\code\GApiGCES_JDK21\gaia-apigc-app\api.springmvc.properties [INFO] [INFO] --- gplus:3.0.0:addSources (default) @ gaia-apigc-app --- [INFO] [INFO] --- gplus:3.0.0:addTestSources (default) @ gaia-apigc-app --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ gaia-apigc-app --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-app\src\main\resources [INFO] [INFO] --- compiler:3.13.0:compile (default-compile) @ gaia-apigc-app --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug parameters target 21] to target\classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compile (default) @ gaia-apigc-app --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- dt4j-coverage:2.0.3:instrument (instrument) @ gaia-apigc-app --- [INFO] Not found any dt4j-coverage-maven-plugin report goal [aggregate-report] or [aggregate-report-diff] and skip operation collecting. [INFO] Skipped coverage. [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gaia-apigc-app --- [INFO] skip non existing resourceDirectory D:\java\code\GApiGCES_JDK21\gaia-apigc-app\src\test\resources [INFO] [INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ gaia-apigc-app --- [WARNING] Parameter 'compilerVersion' (user property 'maven.compiler.compilerVersion') is deprecated: This parameter is no longer evaluated by the underlying compilers, instead the actual version of the javac binary is automatically retrieved. [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 1 source file with javac [debug parameters target 21] to target\test-classes [INFO] 由于在类路径中发现了一个或多个处理程序,因此启用了 批注处理。未来发行版的 javac 可能会禁用批注处理, 除非至少按名称指定了一个处理程序 (-processor), 或指定了搜索路径 (--processor-path, --processor-module-path), 或显式启用了批注处理 (-proc:only, -proc:full)。 可使用 -Xlint:-options 隐藏此消息。 可使用 -proc:none 禁用批注处理。 [INFO] [INFO] --- gplus:3.0.0:compileTests (default) @ gaia-apigc-app --- [INFO] No sources specified for compilation. Skipping. [INFO] [INFO] --- surefire:3.0.0-M7:test (default-test) @ gaia-apigc-app --- [INFO] Using auto detected provider org.apache.maven.surefire.junit.JUnit3Provider [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for GaiaApiGC 1.0.0-SNAPSHOT: [INFO] [INFO] GaiaApiGC .......................................... SUCCESS [ 1.784 s] [INFO] gaia-apigc-i18n .................................... SUCCESS [ 1.315 s] [INFO] gaia-apigc-config .................................. SUCCESS [ 0.592 s] [INFO] gaia-apigc-standard ................................ SUCCESS [ 0.448 s] [INFO] gaia-apigc-domain .................................. SUCCESS [ 9.583 s] [INFO] gaia-apigc-infrastructure .......................... SUCCESS [ 2.927 s] [INFO] gaia-apigc-api ..................................... SUCCESS [ 2.321 s] [INFO] gaia-apigc-client .................................. SUCCESS [ 2.822 s] [INFO] gaia-apigc-service ................................. SUCCESS [ 3.295 s] [INFO] gaia-apigc-adapter ................................. SUCCESS [ 2.128 s] [INFO] gaia-apigc-app ..................................... FAILURE [ 3.548 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 31.153 s [INFO] Finished at: 2025-11-12T17:25:55+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M7:test (default-test) on project gaia-apigc-app: Missing: [ERROR] ---------- [ERROR] 1) org.apache.maven.surefire:surefire-junit3:jar:3.0.0-M7 [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.apache.maven.surefire -DartifactId=surefire-junit3 -Dversion=3.0.0-M7 -Dpackaging=jar -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.maven.surefire -DartifactId=surefire-junit3 -Dversion=3.0.0-M7 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] ---------- [ERROR] 1 required artifact is missing. [ERROR] [ERROR] for artifact: [ERROR] org.apache.maven.surefire:surefire-junit3:jar:3.0.0-M7 [ERROR] [ERROR] from the specified remote repositories: [ERROR] huawei-product-maven-plugin (https://cmc.centralrepo.rnd.huawei.com/artifactory/product_maven/, releases=true, snapshots=true), [ERROR] huawei-central-plugin (https://cmc.centralrepo.rnd.huawei.com/artifactory/maven-central-repo/, releases=true, snapshots=true), [ERROR] central (https://cmc.centralrepo.rnd.huawei.com/artifactory/product_maven/, releases=true, snapshots=false) [ERROR] [ERROR] -> [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 [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <args> -rf :gaia-apigc-app 进程已结束,退出代码为 1
最新发布
11-13
Solving environment: failed # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<< `$ D:\anaconda\Scripts\conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch` environment variables: CIO_TEST=<not set> CLASSPATH=.;D:\jdk1.8\lib;D:\jdk1.8\lib\dt.jar;D:\jdk1.8\lib\tools.jar CONDA_DEFAULT_ENV=hppo CONDA_EXE=D:\anaconda\Scripts\conda.exe CONDA_PREFIX=D:\anaconda\envs\hppo CONDA_PREFIX_1=D:\anaconda CONDA_PROMPT_MODIFIER=(hppo) CONDA_PYTHON_EXE=D:\anaconda\python.exe CONDA_ROOT=D:\anaconda CONDA_SHLVL=2 CUDA_PATH=D:\cuda\NVIDIA GPU Computing Toolkit HOMEPATH=\Users\Lenovo NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\ PATH=D:\anaconda\envs\hppo;D:\anaconda\envs\hppo\Library\mingw-w64\bin;D:\a naconda\envs\hppo\Library\usr\bin;D:\anaconda\envs\hppo\Library\bin;D: \anaconda\envs\hppo\Scripts;D:\anaconda\envs\hppo\bin;D:\anaconda;D:\a naconda\Library\mingw-w64\bin;D:\anaconda\Library\usr\bin;D:\anaconda\ Library\bin;D:\anaconda\Scripts;D:\anaconda\bin;D:\cuda\NVIDIA GPU Computing Toolkit\bin;D:\cuda\NVIDIA GPU Computing Toolkit\libnvvp;D:\jdk1.8\bin;C:\Program Files (x86)\Common Files\Orac le\Java\javapath;D:\anaconda;D:\anaconda\Library\mingw-w64\bin;D:\anac onda\Library\usr\bin;D:\anaconda\Library\bin;D:\anaconda\Scripts;C:\Wi ndows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32 \WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;D:\maven\apache-maven-3.6.0\bin;D:\mysql\my sql-8.0.39-winx64\bin;D:\nodejs;D:\nodejs\node_cache;D:\nodejs\node_gl obal;D:\AS\gradle-8.9\bin;C:\Program Files\dotnet\;F:\wxxcx\瀵邦喕淇妛eb瀵偓閸欐垼鈧懎浼愰崗绌僤ll;C:\Program Files\NVIDIA Corporation\Nsight Compute 2021.3.1\;D:\cuda\NVIDIA GPU Computing Toolkit\lib\x64;D:\cuda\NVIDIA GPU Computing Toolkit;;C:\WINDOWS\syste m32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPow erShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\Lenovo\AppData\Loc al\Programs\Python\Launcher\;D:\Program Files\MySQL\MySQL Shell 8.0\bi n\;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsApps;C:\Users\Lenovo \AppData\Roaming\npm;D:\pycharm\PyCharm Community Edition 2022.1.2\bin;;D:\PyCharm 2024.1.1\bin;; PSMODULEPATH=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\Windows PowerShell\v1.0\Modules PYTHONIOENCODING=936 REQUESTS_CA_BUNDLE=<not set> SSL_CERT_FILE=D:\anaconda\envs\hppo\Library\ssl\cacert.pem active environment : hppo active env location : D:\anaconda\envs\hppo shell level : 2 user config file : C:\Users\Lenovo\.condarc populated config files : C:\Users\Lenovo\.condarc conda version : 4.5.4 conda-build version : 3.10.5 python version : 3.6.5.final.0 base environment : D:\anaconda (writable) channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/win-64 https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/noarch http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/`/win-64 http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/`/noarch http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/win-64 http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/win-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/pro/win-64 https://repo.anaconda.com/pkgs/pro/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : D:\anaconda\pkgs C:\Users\Lenovo\AppData\Local\conda\conda\pkgs envs directories : D:\anaconda\envs C:\Users\Lenovo\AppData\Local\conda\conda\envs C:\Users\Lenovo\.conda\envs platform : win-64 user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Windows/10 Windows/10.0.26100 administrator : False netrc file : None offline mode : False V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V CondaHTTPError: HTTP 404 NOT FOUND for url <http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/`/noarch/repodata.json> Elapsed: 00:00.085277 The remote server could not find the noarch directory for the requested channel with url: http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/` As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is empty. please request that the channel administrator create `noarch/repodata.json` and associated `noarch/repodata.json.bz2` files. $ mkdir noarch $ echo '{}' > noarch/repodata.json $ bzip2 -k noarch/repodata.json You will need to adjust your conda configuration to proceed. Use `conda config --show channels` to view your configuration's current state. Further configuration help can be found at <https://conda.io/docs/config.html>. A reportable application error has occurred. Conda has prepared the above report. If submitted, this report will be used by core maintainers to improve future releases of conda. Would you like conda to send this report to the core maintainers? [y/N]:
08-09
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值