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

Maven编译错误解决
本文解决了使用Maven编译时出现的“tools.jar未找到”错误,原因是JRE和JDK安装目录一致导致JDK中的tools.jar被覆盖。解决方法为重新安装JDK。

在用命令行 mvn compile 时,出现错误

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project Hello: Fatal error compiling: tools.jar
 not found: G:\jdk\..\lib\tools.jar -> [Help 1]

等问题, 

是因为在安装jdk时 jre 和 jdk 的安装目录一致, 覆盖了 jdk 中 tools.jar 文件. 

解决办法 重新安装jdk 就可以了.. 

亲测..可用 调试了半天,找度娘好久才解决的问题

[INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:datax-core:jar:0.0.1-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.alibaba.datax:datax-core:[unknown-version], E:\projects\now\java\DataX-master\core\pom.xml, line 112, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:kingbaseesreader:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for com.kingbase8:kingbase8:jar should not point at files within the project directory, ${basedir}/src/main/libs/kingbase8-8.2.0.jar will be unresolvable by dependent projects @ com.alibaba.datax:kingbaseesreader:[unknown-version], E:\projects\now\java\DataX-master\kingbaseesreader\pom.xml, line 50, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:rdbmsreader:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for com.sybase:jconn3:jar should not point at files within the project directory, ${basedir}/src/main/libs/jconn3-1.0.0-SNAPSHOT.jar will be unresolvable by dependent projects @ com.alibaba.datax:rdbmsreader:[unknown-version], E:\projects\now\java\DataX-master\rdbmsreader\pom.xml, line 40, column 25 [WARNING] 'dependencies.dependency.systemPath' for ppas:ppas:jar should not point at files within the project directory, ${basedir}/src/main/libs/edb-jdbc16.jar will be unresolvable by dependent projects @ com.alibaba.datax:rdbmsreader:[unknown-version], E:\projects\now\java\DataX-master\rdbmsreader\pom.xml, line 48, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:odpsreader:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> duplicate declaration of version 1.8.5 @ com.alibaba.datax:odpsreader:[unknown-version], E:\projects\now\java\DataX-master\odpsreader\pom.xml, line 71, column 15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.powermock:powermock-api-mockito:jar -> duplicate declaration of version 1.4.10 @ com.alibaba.datax:odpsreader:[unknown-version], E:\projects\now\java\DataX-master\odpsreader\pom.xml, line 77, column 15 [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.powermock:powermock-module-junit4:jar -> duplicate declaration of version 1.4.10 @ com.alibaba.datax:odpsreader:[unknown-version], E:\projects\now\java\DataX-master\odpsreader\pom.xml, line 84, column 15 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:gdbreader:jar:0.0.1-SNAPSHOT [WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ line 115, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:sybasereader:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.alibaba.datax:datax-common:jar -> version ${datax-project-version} vs 0.0.1-SNAPSHOT @ com.alibaba.datax:sybasereader:[unknown-version], E:\projects\now\java\DataX-master\sybasereader\pom.xml, line 53, column 21 [WARNING] 'dependencies.dependency.systemPath' for com.sybase.jconnect:jconn4:jar should not point at files within the project directory, ${basedir}/src/main/libs/jconn4-16.0.jar will be unresolvable by dependent projects @ com.alibaba.datax:sybasereader:[unknown-version], E:\projects\now\java\DataX-master\sybasereader\pom.xml, line 65, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:kingbaseeswriter:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for com.kingbase8:kingbase8:jar should not point at files within the project directory, ${basedir}/src/main/libs/kingbase8-8.2.0.jar will be unresolvable by dependent projects @ com.alibaba.datax:kingbaseeswriter:[unknown-version], E:\projects\now\java\DataX-master\kingbaseeswriter\pom.xml, line 48, column 16 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:oceanbasev10writer:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for com.alipay.oceanbase:oceanbase-connector-java:jar should not point at files within the project directory, ${basedir}/src/main/libs/oceanbase-connector-java-3.2.0.jar will be unresolvable by dependent projects @ line 67, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:rdbmswriter:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.systemPath' for com.sybase:jconn3:jar should not point at files within the project directory, ${basedir}/src/main/libs/jconn3-1.0.0-SNAPSHOT.jar will be unresolvable by dependent projects @ com.alibaba.datax:rdbmswriter:[unknown-version], E:\projects\now\java\DataX-master\rdbmswriter\pom.xml, line 40, column 16 [WARNING] 'dependencies.dependency.systemPath' for ppas:ppas:jar should not point at files within the project directory, ${basedir}/src/main/libs/edb-jdbc16.jar will be unresolvable by dependent projects @ com.alibaba.datax:rdbmswriter:[unknown-version], E:\projects\now\java\DataX-master\rdbmswriter\pom.xml, line 48, column 16 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:hbase094xwriter:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.alibaba.datax:datax-common:jar -> version ${datax-project-version} vs 0.0.1-SNAPSHOT @ line 75, column 21 [WARNING] [WARNING] Some problems were encountered while building the effective model for com.alibaba.datax:sybasewriter:jar:0.0.1-SNAPSHOT [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.alibaba.datax:datax-common:jar -> version ${datax-project-version} vs 0.0.1-SNAPSHOT @ com.alibaba.datax:sybasewriter:[unknown-version], E:\projects\now\java\DataX-master\sybasewriter\pom.xml, line 51, column 21 [WARNING] 'dependencies.dependency.systemPath' for com.sybase.jconnect:jconn4:jar should not point at files within the project directory, ${basedir}/src/main/libs/jconn4-16.0.jar will be unresolvable by dependent projects @ com.alibaba.datax:sybasewriter:[unknown-version], E:\projects\now\java\DataX-master\sybasewriter\pom.xml, line 63, column 25 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] datax-all [INFO] datax-common [INFO] datax-transformer [INFO] datax-core [INFO] plugin-rdbms-util [INFO] mysqlreader [INFO] drdsreader [INFO] sqlserverreader [INFO] postgresqlreader [INFO] kingbaseesreader [INFO] oraclereader [INFO] cassandrareader [INFO] oceanbasev10reader [INFO] obhbasereader [INFO] rdbmsreader [INFO] odpsreader [INFO] otsreader [INFO] otsstreamreader [INFO] hbase11xreader [INFO] hbase094xreader [INFO] hbase11xsqlreader [INFO] hbase20xsqlreader [INFO] plugin-unstructured-storage-util [INFO] hdfsreader [INFO] ossreader [INFO] ftpreader [INFO] txtfilereader [INFO] streamreader [INFO] clickhousereader [INFO] mongodbreader [INFO] tdenginewriter [INFO] tdenginereader [INFO] gdbreader [INFO] tsdbreader [INFO] opentsdbreader [INFO] loghubreader [INFO] datahubreader [INFO] starrocksreader [INFO] sybasereader [INFO] dorisreader [INFO] mysqlwriter [INFO] starrockswriter [INFO] drdswriter [INFO] databendwriter [INFO] oraclewriter [INFO] sqlserverwriter [INFO] postgresqlwriter [INFO] kingbaseeswriter [INFO] odpswriter [INFO] adswriter [INFO] oceanbasev10writer [INFO] obhbasewriter [INFO] adbpgwriter [INFO] hologresjdbcwriter [INFO] rdbmswriter [INFO] hdfswriter [INFO] osswriter [INFO] otswriter [INFO] hbase11xwriter [INFO] hbase094xwriter [INFO] hbase11xsqlwriter [INFO] hbase20xsqlwriter [INFO] kuduwriter [INFO] ftpwriter [INFO] txtfilewriter [INFO] streamwriter [INFO] elasticsearchwriter [INFO] mongodbwriter [INFO] ocswriter [INFO] tsdbwriter [INFO] gdbwriter [INFO] oscarwriter [INFO] loghubwriter [INFO] datahubwriter [INFO] cassandrawriter [INFO] clickhousewriter [INFO] doriswriter [INFO] selectdbwriter [INFO] adbmysqlwriter [INFO] sybasewriter [INFO] neo4jwriter [INFO] milvuswriter [INFO] gaussdbreader [INFO] gaussdbwriter [INFO] datax-example [INFO] datax-example-core [INFO] datax-example-streamreader [INFO] datax-example-neo4j [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building datax-all 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ datax-all --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building datax-common 0.0.1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ datax-common --- [INFO] Deleting E:\projects\now\java\DataX-master\common\target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ datax-common --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 6 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ datax-common --- [INFO] Compiling 45 source files to E:\projects\now\java\DataX-master\common\target\classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Unable to locate the Javac Compiler in: D:\eclipse\jre\..\lib\tools.jar Please ensure you are using JDK 1.4 or above and not a JRE (the com.sun.tools.javac.Main class is required). In most cases you can change the location of your Java installation by setting the JAVA_HOME environment variable. [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] datax-all .......................................... SUCCESS [ 0.153 s] [INFO] datax-common ....................................... FAILURE [ 0.530 s] [INFO] datax-transformer .................................. SKIPPED [INFO] datax-core ......................................... SKIPPED [INFO] plugin-rdbms-util .................................. SKIPPED [INFO] mysqlreader ........................................ SKIPPED [INFO] drdsreader ......................................... SKIPPED [INFO] sqlserverreader .................................... SKIPPED [INFO] postgresqlreader ................................... SKIPPED [INFO] kingbaseesreader ................................... SKIPPED [INFO] oraclereader ....................................... SKIPPED [INFO] cassandrareader .................................... SKIPPED [INFO] oceanbasev10reader ................................. SKIPPED [INFO] obhbasereader ...................................... SKIPPED [INFO] rdbmsreader ........................................ SKIPPED [INFO] odpsreader ......................................... SKIPPED [INFO] otsreader .......................................... SKIPPED [INFO] otsstreamreader .................................... SKIPPED [INFO] hbase11xreader ..................................... SKIPPED [INFO] hbase094xreader .................................... SKIPPED [INFO] hbase11xsqlreader .................................. SKIPPED [INFO] hbase20xsqlreader .................................. SKIPPED [INFO] plugin-unstructured-storage-util ................... SKIPPED [INFO] hdfsreader ......................................... SKIPPED [INFO] ossreader .......................................... SKIPPED [INFO] ftpreader .......................................... SKIPPED [INFO] txtfilereader ...................................... SKIPPED [INFO] streamreader ....................................... SKIPPED [INFO] clickhousereader ................................... SKIPPED [INFO] mongodbreader ...................................... SKIPPED [INFO] tdenginewriter ..................................... SKIPPED [INFO] tdenginereader ..................................... SKIPPED [INFO] gdbreader .......................................... SKIPPED [INFO] tsdbreader ......................................... SKIPPED [INFO] opentsdbreader ..................................... SKIPPED [INFO] loghubreader ....................................... SKIPPED [INFO] datahubreader ...................................... SKIPPED [INFO] starrocksreader .................................... SKIPPED [INFO] sybasereader ....................................... SKIPPED [INFO] dorisreader ........................................ SKIPPED [INFO] mysqlwriter ........................................ SKIPPED [INFO] starrockswriter .................................... SKIPPED [INFO] drdswriter ......................................... SKIPPED [INFO] databendwriter ..................................... SKIPPED [INFO] oraclewriter ....................................... SKIPPED [INFO] sqlserverwriter .................................... SKIPPED [INFO] postgresqlwriter ................................... SKIPPED [INFO] kingbaseeswriter ................................... SKIPPED [INFO] odpswriter ......................................... SKIPPED [INFO] adswriter .......................................... SKIPPED [INFO] oceanbasev10writer ................................. SKIPPED [INFO] obhbasewriter ...................................... SKIPPED [INFO] adbpgwriter ........................................ SKIPPED [INFO] hologresjdbcwriter ................................. SKIPPED [INFO] rdbmswriter ........................................ SKIPPED [INFO] hdfswriter ......................................... SKIPPED [INFO] osswriter .......................................... SKIPPED [INFO] otswriter .......................................... SKIPPED [INFO] hbase11xwriter ..................................... SKIPPED [INFO] hbase094xwriter .................................... SKIPPED [INFO] hbase11xsqlwriter .................................. SKIPPED [INFO] hbase20xsqlwriter .................................. SKIPPED [INFO] kuduwriter ......................................... SKIPPED [INFO] ftpwriter .......................................... SKIPPED [INFO] txtfilewriter ...................................... SKIPPED [INFO] streamwriter ....................................... SKIPPED [INFO] elasticsearchwriter ................................ SKIPPED [INFO] mongodbwriter ...................................... SKIPPED [INFO] ocswriter .......................................... SKIPPED [INFO] tsdbwriter ......................................... SKIPPED [INFO] gdbwriter .......................................... SKIPPED [INFO] oscarwriter ........................................ SKIPPED [INFO] loghubwriter ....................................... SKIPPED [INFO] datahubwriter ...................................... SKIPPED [INFO] cassandrawriter .................................... SKIPPED [INFO] clickhousewriter ................................... SKIPPED [INFO] doriswriter ........................................ SKIPPED [INFO] selectdbwriter ..................................... SKIPPED [INFO] adbmysqlwriter ..................................... SKIPPED [INFO] sybasewriter ....................................... SKIPPED [INFO] neo4jwriter ........................................ SKIPPED [INFO] milvuswriter ....................................... SKIPPED [INFO] gaussdbreader ...................................... SKIPPED [INFO] gaussdbwriter ...................................... SKIPPED [INFO] datax-example ...................................... SKIPPED [INFO] datax-example-core ................................. SKIPPED [INFO] datax-example-streamreader ......................... SKIPPED [INFO] datax-example-neo4j ................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.128 s [INFO] Finished at: 2025-11-11T15:31:48+08:00 [INFO] Final Memory: 16M/243M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project datax-common: Compilation failure [ERROR] Unable to locate the Javac Compiler in: [ERROR] D:\eclipse\jre\..\lib\tools.jar [ERROR] Please ensure you are using JDK 1.4 or above and [ERROR] not a JRE (the com.sun.tools.javac.Main class is required). [ERROR] In most cases you can change the location of your Java [ERROR] installation by setting the JAVA_HOME environment variable. [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :datax-common
11-12
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
我在弄hive的安装和配置,我在完成Linux中的任务,请帮我根据文档要求完成操作。以下是我的虚拟机信息: 虚拟机版本: CentOS7 用户名为: wyy0212 虚拟机master IP为192.168.161.130 hive压缩包路径/home/wyy0212/apache-hive-3.1.2-bin.tar.gz hadoop路径: /export/server/hadoop hadoop版本: 3.3.3 jdk路径: /export/server/jdk jdk版本: 1.8.0_202 mysql路径: /root/export/server/hadoop/bin/hadoop mysql版本: mysql Ver 15.1 Distrib 5.5.68-MariaDB 目前我在master虚拟机,当前所在路径:/export/server 所有操作均在root下完成(包括master和slave) 我要求一个零基础的终极详细教程,提供从第一步开始的完整操作流程,每个命令都要给出,包括每一步的命令和操作,以及所有代码和配置文件的完整路径和完整内容。涉及编辑的都使用vi 必须提供可以直接复制粘贴的代码和配置文件。请务必详细,不要跳过任何步骤。谢谢。但是现在我遇到问题了[root@master server]# [root@master server]# # 重命名为 hive(简洁) [root@master server]# mv apache-hive-3.1.2-bin hive [root@master server]# vi /etc/profile [root@master server]# source /etc/profile [root@master server]# echo $HIVE_HOME /export/server/hive [root@master server]# cd /export/server/hive/lib [root@master lib]# [root@master lib]# # 删除 Hive 自带的旧版 guava [root@master lib]# rm -f guava-19.0.jar [root@master lib]# [root@master lib]# # 从 Hadoop 复制新版(先查看真实版本号) [root@master lib]# ls /export/server/hadoop/share/hadoop/common/lib/guava-*.jar ls: 无法访问/export/server/hadoop/share/hadoop/common/lib/guava-*.jar: 没有那个文件或目录 [root@master lib]# cd /export/server/hive [root@master hive]# [root@master hive]# # 创建 conf 目录(如果不存在) [root@master hive]# mkdir -p conf [root@master hive]# [root@master hive]# # 进入配置目录 [root@master hive]# cd conf [root@master conf]# vi hive-site.xml [root@master conf]# cp /export/soft/mysql-connector-java-5.1.49.jar /export/server/hive/lib/ [root@master conf]# ls /export/server/hive/lib/mysql-connector-java-5.1.49.jar /export/server/hive/lib/mysql-connector-java-5.1.49.jar [root@master conf]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 Server version: 5.7.43 MySQL Community Server (GPL) Copyright (c) 2000, 2023, Oracle and/or its affiliates. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> -- 创建 hive 数据库 mysql> CREATE DATABASE IF NOT EXISTS hive CHARACTER SET utf8 COLLATE utf8_general_ci; Query OK, 1 row affected (0.10 sec) mysql> mysql> -- 授权 root 用户访问 hive 库(因为我们用 root 连接) mysql> -- 注意:生产环境建议新建专用用户,这里简化操作 mysql> GRANT ALL PRIVILEGES ON hive.* TO 'root'@'%'; Query OK, 0 rows affected (0.07 sec) mysql> mysql> -- 刷新权限 mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.01 sec) mysql> mysql> -- 退出 mysql> EXIT; Bye [root@master conf]# cd /export/server/hive [root@master hive]# [root@master hive]# # 执行 schematool 初始化 [root@master hive]# bin/schematool -dbType mysql -initSchema -verbose SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/server/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/root/export/server/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357) at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338) at org.apache.hadoop.mapred.JobConf.setJar(JobConf.java:518) at org.apache.hadoop.mapred.JobConf.setJarByClass(JobConf.java:536) at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:430) at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:5141) at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:5104) at org.apache.hive.beeline.HiveSchemaTool.<init>(HiveSchemaTool.java:96) at org.apache.hive.beeline.HiveSchemaTool.main(HiveSchemaTool.java:1473) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.util.RunJar.run(RunJar.java:318) at org.apache.hadoop.util.RunJar.main(RunJar.java:232) [root@master hive]# # 创建日志目录 [root@master hive]# mkdir -p /export/server/hive/logs [root@master hive]# [root@master hive]# # 启动 Metastore(后台运行) [root@master hive]# nohup /export/server/hive/bin/hive --service metastore \ > > /export/server/hive/logs/metastore.log 2>&1 & [1] 124844 [root@master hive]# [root@master hive]# # 查看是否启动成功 [root@master hive]# tail -f /export/server/hive/logs/metastore.log nohup: 忽略输入 2025-11-26 22:50:08: Starting Hive Metastore Server SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/server/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/root/export/server/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] MetaException(message:com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:84) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:93) at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8661) at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8656) at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:8926) at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:8843) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.util.RunJar.run(RunJar.java:318) at org.apache.hadoop.util.RunJar.main(RunJar.java:232) Caused by: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357) at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338) at org.apache.hadoop.hive.metastore.ObjectStore.correctAutoStartMechanism(ObjectStore.java:641) at org.apache.hadoop.hive.metastore.ObjectStore.getDataSourceProps(ObjectStore.java:572) at org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore.java:349) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:77) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:137) at org.apache.hadoop.hive.metastore.RawStoreProxy.<init>(RawStoreProxy.java:59) at org.apache.hadoop.hive.metastore.RawStoreProxy.getProxy(RawStoreProxy.java:67) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newRawStoreForConf(HiveMetaStore.java:718) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMSForConf(HiveMetaStore.java:696) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:690) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:767) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:538) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:147) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:108) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:80) ... 11 more Exception in thread "main" MetaException(message:com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:84) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.getProxy(RetryingHMSHandler.java:93) at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8661) at org.apache.hadoop.hive.metastore.HiveMetaStore.newRetryingHMSHandler(HiveMetaStore.java:8656) at org.apache.hadoop.hive.metastore.HiveMetaStore.startMetaStore(HiveMetaStore.java:8926) at org.apache.hadoop.hive.metastore.HiveMetaStore.main(HiveMetaStore.java:8843) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.util.RunJar.run(RunJar.java:318) at org.apache.hadoop.util.RunJar.main(RunJar.java:232) Caused by: java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357) at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338) at org.apache.hadoop.hive.metastore.ObjectStore.correctAutoStartMechanism(ObjectStore.java:641) at org.apache.hadoop.hive.metastore.ObjectStore.getDataSourceProps(ObjectStore.java:572) at org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore.java:349) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:77) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:137) at org.apache.hadoop.hive.metastore.RawStoreProxy.<init>(RawStoreProxy.java:59) at org.apache.hadoop.hive.metastore.RawStoreProxy.getProxy(RawStoreProxy.java:67) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.newRawStoreForConf(HiveMetaStore.java:718) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMSForConf(HiveMetaStore.java:696) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:690) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:767) at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:538) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:147) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:108) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.<init>(RetryingHMSHandler.java:80) ... 11 more ^C [1]+ 退出 1 nohup /export/server/hive/bin/hive --service metastore > /export/server/hive/logs/metastore.log 2>&1 [root@master hive]# # 启动 HiveServer2 [root@master hive]# nohup /export/server/hive/bin/hive --service hiveserver2 \ > > /export/server/hive/logs/hiveserver2.log 2>&1 & [1] 126010 [root@master hive]# [root@master hive]# # 查看日志 [root@master hive]# tail -f /export/server/hive/logs/hiveserver2.log nohup: 忽略输入 which: no hbase in (/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:/export/server/jdk/bin:/export/server/hadoop/bin:/export/server/hadoop/sbin:/export/server/mysql/bin:/export/server/hive/bin) 2025-11-26 22:50:53: Starting HiveServer2 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/server/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/root/export/server/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V at org.apache.hadoop.conf.Configuration.set(Configuration.java:1357) at org.apache.hadoop.conf.Configuration.set(Configuration.java:1338) at org.apache.hadoop.mapred.JobConf.setJar(JobConf.java:518) at org.apache.hadoop.mapred.JobConf.setJarByClass(JobConf.java:536) at org.apache.hadoop.mapred.JobConf.<init>(JobConf.java:430) at org.apache.hadoop.hive.conf.HiveConf.initialize(HiveConf.java:5141) at org.apache.hadoop.hive.conf.HiveConf.<init>(HiveConf.java:5099) at org.apache.hadoop.hive.common.LogUtils.initHiveLog4jCommon(LogUtils.java:97) at org.apache.hadoop.hive.common.LogUtils.initHiveLog4j(LogUtils.java:81) at org.apache.hive.service.server.HiveServer2.main(HiveServer2.java:1141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.util.RunJar.run(RunJar.java:318) at org.apache.hadoop.util.RunJar.main(RunJar.java:232) ^C [1]+ 退出 1 nohup /export/server/hive/bin/hive --service hiveserver2 > /export/server/hive/logs/hiveserver2.log 2>&1 [root@master hive]# jps 96417 DataNode 96162 NameNode 126676 Jps 103240 ResourceManager 103483 NodeManager 96894 SecondaryNameNode [root@master hive]# /export/server/hive/bin/beeline SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/export/server/hive/lib/log4j-slf4j-impl-2.10.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/root/export/server/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] Beeline version 3.1.2 by Apache Hive beeline> !connect jdbc:hive2://192.168.161.130:10000 Connecting to jdbc:hive2://192.168.161.130:10000 Enter username for jdbc:hive2://192.168.161.130:10000: root Enter password for jdbc:hive2://192.168.161.130:10000: 25/11/26 22:51:47 [main]: WARN jdbc.HiveConnection: Failed to connect to 192.168.161.130:10000 Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status. Error: Could not open client transport with JDBC Uri: jdbc:hive2://192.168.161.130:10000: java.net.ConnectException: 拒绝连接 (Connection refused) (state=08S01,code=0) beeline> SHOW DATABASES; No current connection beeline> # 开放 Metastore 端口 beeline> firewall-cmd --permanent --add-port=9083/tcp . . . .> . . . .> # 开放 HiveServer2 端口 . . . .> firewall-cmd --permanent --add-port=10000/tcp . . . .> . . . .> # 重新加载 . . . .> firewall-cmd --reload . . . .> exit; No current connection beeline> !quit [root@master hive]#
最新发布
11-27
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
F:\zhang\jdk18\bin\java.exe "-javaagent:F:\zhang\IDEA\IntelliJ IDEA 2023.3.4\lib\idea_rt.jar=57121:F:\zhang\IDEA\IntelliJ IDEA 2023.3.4\bin" -Dfile.encoding=UTF-8 -Dsun.stdout.encoding=UTF-8 -Dsun.stderr.encoding=UTF-8 -classpath F:\zhang\IDEA\IDEAprojects\Covid-2304\target\classes;C:\Users\user\.m2\repository\org\apache\hadoop\hadoop-common\3.2.2\hadoop-common-3.2.2.jar;C:\Users\user\.m2\repository\org\apache\hadoop\hadoop-annotations\3.2.2\hadoop-annotations-3.2.2.jar;C:\Users\user\.m2\repository\com\google\guava\guava\27.0-jre\guava-27.0-jre.jar;C:\Users\user\.m2\repository\com\google\guava\failureaccess\1.0\failureaccess-1.0.jar;C:\Users\user\.m2\repository\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;C:\Users\user\.m2\repository\org\checkerframework\checker-qual\2.5.2\checker-qual-2.5.2.jar;C:\Users\user\.m2\repository\com\google\errorprone\error_prone_annotations\2.2.0\error_prone_annotations-2.2.0.jar;C:\Users\user\.m2\repository\com\google\j2objc\j2objc-annotations\1.1\j2objc-annotations-1.1.jar;C:\Users\user\.m2\repository\org\codehaus\mojo\animal-sniffer-annotations\1.17\animal-sniffer-annotations-1.17.jar;C:\Users\user\.m2\repository\commons-cli\commons-cli\1.2\commons-cli-1.2.jar;C:\Users\user\.m2\repository\org\apache\commons\commons-math3\3.1.1\commons-math3-3.1.1.jar;C:\Users\user\.m2\repository\org\apache\httpcomponents\httpclient\4.5.13\httpclient-4.5.13.jar;C:\Users\user\.m2\repository\org\apache\httpcomponents\httpcore\4.4.13\httpcore-4.4.13.jar;C:\Users\user\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar;C:\Users\user\.m2\repository\commons-io\commons-io\2.5\commons-io-2.5.jar;C:\Users\user\.m2\repository\commons-net\commons-net\3.6\commons-net-3.6.jar;C:\Users\user\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\user\.m2\repository\javax\servlet\javax.servlet-api\3.1.0\javax.ser
03-19
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值