docker镜像安装:执行mvn clean package docker:build失败 java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider

Blade 未结 1 402
eternal
eternal 剑圣 2023-06-05 18:12

一、该问题的重现步骤是什么?

1. 在centos7.6虚拟机中,代码上传到服务器,然后按照流程执行到这一步时失败:mvn clean package docker:build 

二、你期待的结果是什么?实际看到的又是什么?

docker镜像安装可以正常完成

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

bladex3.1.1

四、请提供详细的错误堆栈信息,这很重要。

报错信息如下:

mvn clean package docker:build
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-auth:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-auth:${bladex.project.version}, /web/src/BladeX/blade-auth/pom.xml, line 16, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-common:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-common:${bladex.project.version}, /web/src/BladeX/blade-common/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-gateway:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-gateway:${bladex.project.version}, /web/src/BladeX/blade-gateway/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-admin:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-admin:${bladex.project.version}, /web/src/BladeX/blade-ops/blade-admin/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-develop:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-develop:${bladex.project.version}, /web/src/BladeX/blade-ops/blade-develop/pom.xml, line 16, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-flow:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow:${bladex.project.version}, /web/src/BladeX/blade-ops/blade-flow/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-log:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-log:${bladex.project.version}, /web/src/BladeX/blade-ops/blade-log/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-report:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-report:${bladex.project.version}, /web/src/BladeX/blade-ops/blade-report/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-resource:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-resource:${bladex.project.version}, /web/src/BladeX/blade-ops/blade-resource/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-swagger:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-swagger:${bladex.project.version}, /web/src/BladeX/blade-ops/blade-swagger/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-flow-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-flow-api:${bladex.project.version}, /web/src/BladeX/blade-ops-api/blade-flow-api/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-resource-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-resource-api:${bladex.project.version}, /web/src/BladeX/blade-ops-api/blade-resource-api/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-email:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-email:${bladex.project.version}, /web/src/BladeX/blade-plugin/blade-email/pom.xml, line 15, column 14
[WARNING] 'build.plugins.plugin.version' for com.spotify:dockerfile-maven-plugin is missing. @ org.springblade:blade-email:${bladex.project.version}, /web/src/BladeX/blade-plugin/blade-email/pom.xml, line 84, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-email-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-email-api:${bladex.project.version}, /web/src/BladeX/blade-plugin-api/blade-email-api/pom.xml, line 15, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-desk:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-desk:${bladex.project.version}, /web/src/BladeX/blade-service/blade-desk/pom.xml, line 16, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-system:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-system:${bladex.project.version}, /web/src/BladeX/blade-service/blade-system/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-desk-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-desk-api:${bladex.project.version}, /web/src/BladeX/blade-service-api/blade-desk-api/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-dict-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-dict-api:${bladex.project.version}, /web/src/BladeX/blade-service-api/blade-dict-api/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-scope-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-scope-api:${bladex.project.version}, /web/src/BladeX/blade-service-api/blade-scope-api/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-system-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-system-api:${bladex.project.version}, /web/src/BladeX/blade-service-api/blade-system-api/pom.xml, line 14, column 14
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.springblade:blade-user-api:jar:3.1.1.RELEASE
[WARNING] 'version' contains an expression but should be a constant. @ org.springblade:blade-user-api:${bladex.project.version}, /web/src/BladeX/blade-service-api/blade-user-api/pom.xml, line 14, column 14
[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] BladeX                                                             [pom]
[INFO] blade-common                                                       [jar]
[INFO] blade-service-api                                                  [pom]
[INFO] blade-user-api                                                     [jar]
[INFO] blade-system-api                                                   [jar]
[INFO] blade-auth                                                         [jar]
[INFO] blade-gateway                                                      [jar]
[INFO] blade-ops                                                          [pom]
[INFO] blade-admin                                                        [jar]
[INFO] blade-dict-api                                                     [jar]
[INFO] blade-develop                                                      [jar]
[INFO] blade-scope-api                                                    [jar]
[INFO] blade-ops-api                                                      [pom]
[INFO] blade-flow-api                                                     [jar]
[INFO] blade-flow                                                         [jar]
[INFO] blade-log                                                          [jar]
[INFO] blade-report                                                       [jar]
[INFO] blade-resource-api                                                 [jar]
[INFO] blade-resource                                                     [jar]
[INFO] blade-swagger                                                      [jar]
[INFO] blade-plugin-api                                                   [pom]
[INFO] blade-email-api                                                    [jar]
[INFO] blade-plugin                                                       [pom]
[INFO] blade-email                                                        [jar]
[INFO] blade-desk-api                                                     [jar]
[INFO] blade-service                                                      [pom]
[INFO] blade-desk                                                         [jar]
[INFO] blade-system                                                       [jar]
[INFO] 
[INFO] -----------------------< org.springblade:BladeX >-----------------------
[INFO] Building BladeX 3.1.1.RELEASE                                     [1/28]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ BladeX ---
[INFO] Deleting /web/src/BladeX/target
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.7.11:repackage (default) @ BladeX ---
[INFO] 
[INFO] --- docker-maven-plugin:0.42.0:build (default-cli) @ BladeX ---
[INFO] 
[INFO] --------------------< org.springblade:blade-common >--------------------
[INFO] Building blade-common 3.1.1.RELEASE                               [2/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ blade-common ---
[INFO] Deleting /web/src/BladeX/blade-common/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ blade-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ blade-common ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 7 source files to /web/src/BladeX/blade-common/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ blade-common ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /web/src/BladeX/blade-common/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ blade-common ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ blade-common ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ blade-common ---
[INFO] Building jar: /web/src/BladeX/blade-common/target/blade-common.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.7.11:repackage (default) @ blade-common ---
[INFO] 
[INFO] --- docker-maven-plugin:0.42.0:build (default-cli) @ blade-common ---
[INFO] 
[INFO] -----------------< org.springblade:blade-service-api >------------------
[INFO] Building blade-service-api 3.1.1.RELEASE                          [3/28]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ blade-service-api ---
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.7.11:repackage (default) @ blade-service-api ---
[INFO] 
[INFO] --- docker-maven-plugin:0.42.0:build (default-cli) @ blade-service-api ---
[INFO] 
[INFO] -------------------< org.springblade:blade-user-api >-------------------
[INFO] Building blade-user-api 3.1.1.RELEASE                             [4/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ blade-user-api ---
[INFO] Deleting /web/src/BladeX/blade-service-api/blade-user-api/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ blade-user-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /web/src/BladeX/blade-service-api/blade-user-api/src/main/resources
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ blade-user-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to /web/src/BladeX/blade-service-api/blade-user-api/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ blade-user-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /web/src/BladeX/blade-service-api/blade-user-api/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ blade-user-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ blade-user-api ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ blade-user-api ---
[INFO] Building jar: /web/src/BladeX/blade-service-api/blade-user-api/target/blade-user-api.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.7.11:repackage (default) @ blade-user-api ---
[INFO] 
[INFO] --- docker-maven-plugin:0.42.0:build (default-cli) @ blade-user-api ---
[INFO] 
[INFO] ------------------< org.springblade:blade-system-api >------------------
[INFO] Building blade-system-api 3.1.1.RELEASE                           [5/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ blade-system-api ---
[INFO] Deleting /web/src/BladeX/blade-service-api/blade-system-api/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ blade-system-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /web/src/BladeX/blade-service-api/blade-system-api/src/main/resources
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ blade-system-api ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 38 source files to /web/src/BladeX/blade-service-api/blade-system-api/target/classes
[INFO] /web/src/BladeX/blade-service-api/blade-system-api/src/main/java/org/springblade/system/cache/SysCache.java: /web/src/BladeX/blade-service-api/blade-system-api/src/main/java/org/springblade/system/cache/SysCache.java使用了未经检查或不安全的操作。
[INFO] /web/src/BladeX/blade-service-api/blade-system-api/src/main/java/org/springblade/system/cache/SysCache.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ blade-system-api ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /web/src/BladeX/blade-service-api/blade-system-api/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ blade-system-api ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ blade-system-api ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ blade-system-api ---
[INFO] Building jar: /web/src/BladeX/blade-service-api/blade-system-api/target/blade-system-api.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.7.11:repackage (default) @ blade-system-api ---
[INFO] 
[INFO] --- docker-maven-plugin:0.42.0:build (default-cli) @ blade-system-api ---
[INFO] 
[INFO] ---------------------< org.springblade:blade-auth >---------------------
[INFO] Building blade-auth 3.1.1.RELEASE                                 [6/28]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ blade-auth ---
[INFO] Deleting /web/src/BladeX/blade-auth/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ blade-auth ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 13 resources
[INFO] Copying 0 resource
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ blade-auth ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 19 source files to /web/src/BladeX/blade-auth/target/classes
[INFO] /web/src/BladeX/blade-auth/src/main/java/org/springblade/auth/config/SecurityConfiguration.java: /web/src/BladeX/blade-auth/src/main/java/org/springblade/auth/config/SecurityConfiguration.java使用或覆盖了已过时的 API。
[INFO] /web/src/BladeX/blade-auth/src/main/java/org/springblade/auth/config/SecurityConfiguration.java: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ blade-auth ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /web/src/BladeX/blade-auth/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ blade-auth ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /web/src/BladeX/blade-auth/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ blade-auth ---
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ blade-auth ---
[INFO] Building jar: /web/src/BladeX/blade-auth/target/blade-auth.jar
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.7.11:repackage (default) @ blade-auth ---
[INFO] Replacing main artifact with repackaged archive
[INFO] 
[INFO] --- maven-antrun-plugin:1.3:run (default) @ blade-auth ---
[INFO] Executing tasks
     [copy] Copying 1 file to /web/src/BladeX/target
[INFO] Executed tasks
[INFO] 
[INFO] --- docker-maven-plugin:0.42.0:build (default-cli) @ blade-auth ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for BladeX 3.1.1.RELEASE:
[INFO] 
[INFO] BladeX ............................................. SUCCESS [  2.334 s]
[INFO] blade-common ....................................... SUCCESS [  4.880 s]
[INFO] blade-service-api .................................. SUCCESS [  0.285 s]
[INFO] blade-user-api ..................................... SUCCESS [  3.161 s]
[INFO] blade-system-api ................................... SUCCESS [  4.068 s]
[INFO] blade-auth ......................................... FAILURE [  5.258 s]
[INFO] blade-gateway ...................................... SKIPPED
[INFO] blade-ops .......................................... SKIPPED
[INFO] blade-admin ........................................ SKIPPED
[INFO] blade-dict-api ..................................... SKIPPED
[INFO] blade-develop ...................................... SKIPPED
[INFO] blade-scope-api .................................... SKIPPED
[INFO] blade-ops-api ...................................... SKIPPED
[INFO] blade-flow-api ..................................... SKIPPED
[INFO] blade-flow ......................................... SKIPPED
[INFO] blade-log .......................................... SKIPPED
[INFO] blade-report ....................................... SKIPPED
[INFO] blade-resource-api ................................. SKIPPED
[INFO] blade-resource ..................................... SKIPPED
[INFO] blade-swagger ...................................... SKIPPED
[INFO] blade-plugin-api ................................... SKIPPED
[INFO] blade-email-api .................................... SKIPPED
[INFO] blade-plugin ....................................... SKIPPED
[INFO] blade-email ........................................ SKIPPED
[INFO] blade-desk-api ..................................... SKIPPED
[INFO] blade-service ...................................... SKIPPED
[INFO] blade-desk ......................................... SKIPPED
[INFO] blade-system ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  21.260 s
[INFO] Finished at: 2023-06-05T18:04:16+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.fabric8:docker-maven-plugin:0.42.0:build (default-cli) on project blade-auth: Execution default-cli of goal io.fabric8:docker-maven-plugin:0.42.0:build failed: An API incompatibility was encountered while executing io.fabric8:docker-maven-plugin:0.42.0:build: java.lang.UnsatisfiedLinkError: could not load FFI provider jnr.ffi.provider.jffi.Provider
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>io.fabric8:docker-maven-plugin:0.42.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/root/.m2/repository/io/fabric8/docker-maven-plugin/0.42.0/docker-maven-plugin-0.42.0.jar
[ERROR] urls[1] = file:/root/.m2/repository/com/github/jnr/jnr-unixsocket/0.38.19/jnr-unixsocket-0.38.19.jar
[ERROR] urls[2] = file:/root/.m2/repository/com/github/jnr/jnr-ffi/2.2.13/jnr-ffi-2.2.13.jar
[ERROR] urls[3] = file:/root/.m2/repository/com/github/jnr/jffi/1.3.10/jffi-1.3.10.jar
[ERROR] urls[4] = file:/root/.m2/repository/com/github/jnr/jffi/1.3.10/jffi-1.3.10-native.jar
[ERROR] urls[5] = file:/root/.m2/repository/org/ow2/asm/asm-commons/9.2/asm-commons-9.2.jar
[ERROR] urls[6] = file:/root/.m2/repository/org/ow2/asm/asm-analysis/9.2/asm-analysis-9.2.jar
[ERROR] urls[7] = file:/root/.m2/repository/org/ow2/asm/asm-tree/9.2/asm-tree-9.2.jar
[ERROR] urls[8] = file:/root/.m2/repository/org/ow2/asm/asm-util/9.2/asm-util-9.2.jar
[ERROR] urls[9] = file:/root/.m2/repository/com/github/jnr/jnr-a64asm/1.0.0/jnr-a64asm-1.0.0.jar
[ERROR] urls[10] = file:/root/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar
[ERROR] urls[11] = file:/root/.m2/repository/com/github/jnr/jnr-constants/0.10.4/jnr-constants-0.10.4.jar
[ERROR] urls[12] = file:/root/.m2/repository/com/github/jnr/jnr-enxio/0.32.14/jnr-enxio-0.32.14.jar
[ERROR] urls[13] = file:/root/.m2/repository/com/github/jnr/jnr-posix/3.1.16/jnr-posix-3.1.16.jar
[ERROR] urls[14] = file:/root/.m2/repository/com/google/cloud/tools/jib-core/0.23.0/jib-core-0.23.0.jar
[ERROR] urls[15] = file:/root/.m2/repository/com/google/cloud/tools/jib-build-plan/0.4.0/jib-build-plan-0.4.0.jar
[ERROR] urls[16] = file:/root/.m2/repository/com/google/http-client/google-http-client/1.42.2/google-http-client-1.42.2.jar
[ERROR] urls[17] = file:/root/.m2/repository/io/opencensus/opencensus-api/0.31.1/opencensus-api-0.31.1.jar
[ERROR] urls[18] = file:/root/.m2/repository/io/grpc/grpc-context/1.27.2/grpc-context-1.27.2.jar
[ERROR] urls[19] = file:/root/.m2/repository/io/opencensus/opencensus-contrib-http-util/0.31.1/opencensus-contrib-http-util-0.31.1.jar
[ERROR] urls[20] = file:/root/.m2/repository/com/google/http-client/google-http-client-apache-v2/1.42.2/google-http-client-apache-v2-1.42.2.jar
[ERROR] urls[21] = file:/root/.m2/repository/com/google/auth/google-auth-library-oauth2-http/1.10.0/google-auth-library-oauth2-http-1.10.0.jar
[ERROR] urls[22] = file:/root/.m2/repository/com/google/auto/value/auto-value-annotations/1.9/auto-value-annotations-1.9.jar
[ERROR] urls[23] = file:/root/.m2/repository/com/google/auth/google-auth-library-credentials/1.10.0/google-auth-library-credentials-1.10.0.jar
[ERROR] urls[24] = file:/root/.m2/repository/com/google/http-client/google-http-client-gson/1.42.2/google-http-client-gson-1.42.2.jar
[ERROR] urls[25] = file:/root/.m2/repository/org/apache/commons/commons-compress/1.21/commons-compress-1.21.jar
[ERROR] urls[26] = file:/root/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.13.4.2/jackson-databind-2.13.4.2.jar
[ERROR] urls[27] = file:/root/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.13.4/jackson-annotations-2.13.4.jar
[ERROR] urls[28] = file:/root/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.13.4/jackson-core-2.13.4.jar
[ERROR] urls[29] = file:/root/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.13.4/jackson-datatype-jsr310-2.13.4.jar
[ERROR] urls[30] = file:/root/.m2/repository/org/ow2/asm/asm/9.4/asm-9.4.jar
[ERROR] urls[31] = file:/root/.m2/repository/com/google/code/gson/gson/2.8.9/gson-2.8.9.jar
[ERROR] urls[32] = file:/root/.m2/repository/com/google/guava/guava/31.1-jre/guava-31.1-jre.jar
[ERROR] urls[33] = file:/root/.m2/repository/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar
[ERROR] urls[34] = file:/root/.m2/repository/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
[ERROR] urls[35] = file:/root/.m2/repository/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar
[ERROR] urls[36] = file:/root/.m2/repository/org/checkerframework/checker-qual/3.12.0/checker-qual-3.12.0.jar
[ERROR] urls[37] = file:/root/.m2/repository/com/google/errorprone/error_prone_annotations/2.11.0/error_prone_annotations-2.11.0.jar
[ERROR] urls[38] = file:/root/.m2/repository/com/google/j2objc/j2objc-annotations/1.3/j2objc-annotations-1.3.jar
[ERROR] urls[39] = file:/root/.m2/repository/net/jodah/failsafe/2.4.0/failsafe-2.4.0.jar
[ERROR] urls[40] = file:/root/.m2/repository/org/apache/commons/commons-lang3/3.6/commons-lang3-3.6.jar
[ERROR] urls[41] = file:/root/.m2/repository/org/apache/commons/commons-text/1.1/commons-text-1.1.jar
[ERROR] urls[42] = file:/root/.m2/repository/org/apache/httpcomponents/httpclient/4.5.13/httpclient-4.5.13.jar
[ERROR] urls[43] = file:/root/.m2/repository/org/apache/httpcomponents/httpcore/4.4.13/httpcore-4.4.13.jar
[ERROR] urls[44] = file:/root/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
[ERROR] urls[45] = file:/root/.m2/repository/commons-codec/commons-codec/1.11/commons-codec-1.11.jar
[ERROR] urls[46] = file:/root/.m2/repository/org/apache/maven/plugins/maven-assembly-plugin/3.1.0/maven-assembly-plugin-3.1.0.jar
[ERROR] urls[47] = file:/root/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[48] = file:/root/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[49] = file:/root/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[50] = file:/root/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[51] = file:/root/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[52] = file:/root/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[53] = file:/root/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/3.0.1/maven-common-artifact-filters-3.0.1.jar
[ERROR] urls[54] = file:/root/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.1.0/maven-shared-utils-3.1.0.jar
[ERROR] urls[55] = file:/root/.m2/repository/org/apache/maven/shared/maven-artifact-transfer/0.9.0/maven-artifact-transfer-0.9.0.jar
[ERROR] urls[56] = file:/root/.m2/repository/org/codehaus/plexus/plexus-archiver/3.5/plexus-archiver-3.5.jar
[ERROR] urls[57] = file:/root/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
[ERROR] urls[58] = file:/root/.m2/repository/org/tukaani/xz/1.6/xz-1.6.jar
[ERROR] urls[59] = file:/root/.m2/repository/org/apache/maven/shared/file-management/3.0.0/file-management-3.0.0.jar
[ERROR] urls[60] = file:/root/.m2/repository/org/apache/maven/shared/maven-shared-io/3.0.0/maven-shared-io-3.0.0.jar
[ERROR] urls[61] = file:/root/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
[ERROR] urls[62] = file:/root/.m2/repository/org/apache/maven/shared/maven-filtering/3.1.1/maven-filtering-3.1.1.jar
[ERROR] urls[63] = file:/root/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] urls[64] = file:/root/.m2/repository/org/codehaus/plexus/plexus-io/3.0.0/plexus-io-3.0.0.jar
[ERROR] urls[65] = file:/root/.m2/repository/org/apache/maven/maven-archiver/3.2.0/maven-archiver-3.2.0.jar
[ERROR] urls[66] = file:/root/.m2/repository/org/codehaus/plexus/plexus-utils/3.1.0/plexus-utils-3.1.0.jar
[ERROR] urls[67] = file:/root/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.65/bcpkix-jdk15on-1.65.jar
[ERROR] urls[68] = file:/root/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.65/bcprov-jdk15on-1.65.jar
[ERROR] urls[69] = file:/root/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.24/plexus-interpolation-1.24.jar
[ERROR] urls[70] = file:/root/.m2/repository/org/yaml/snakeyaml/1.32/snakeyaml-1.32.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
[ERROR] -----------------------------------------------------
[ERROR] : could not get native definition for type `POINTER`, original error message follows: java.lang.UnsatisfiedLinkError: Unable to execute or load jffi binary stub from `/tmp`. Set `TMPDIR` or Java property `java.io.tmpdir` to a read/write path that is not mounted "noexec".
[ERROR] /web/src/BladeX/jffi7193714678243408931.so: /lib64/libc.so.6: version `GLIBC_2.27' not found (required by /web/src/BladeX/jffi7193714678243408931.so)
[ERROR] 	at com.kenai.jffi.internal.StubLoader.tempLoadError(StubLoader.java:555)
[ERROR] 	at com.kenai.jffi.internal.StubLoader.loadFromJar(StubLoader.java:454)
[ERROR] 	at com.kenai.jffi.internal.StubLoader.load(StubLoader.java:330)
[ERROR] 	at com.kenai.jffi.internal.StubLoader.<clinit>(StubLoader.java:618)
[ERROR] 	at java.lang.Class.forName0(Native Method)
[ERROR] 	at java.lang.Class.forName(Class.java:348)
[ERROR] 	at com.kenai.jffi.Init.load(Init.java:68)
[ERROR] 	at com.kenai.jffi.Foreign$InstanceHolder.getInstanceHolder(Foreign.java:50)
[ERROR] 	at com.kenai.jffi.Foreign$InstanceHolder.<clinit>(Foreign.java:46)
[ERROR] 	at com.kenai.jffi.Foreign.getInstance(Foreign.java:104)
[ERROR] 	at com.kenai.jffi.Type$Builtin.lookupTypeInfo(Type.java:242)
[ERROR] 	at com.kenai.jffi.Type$Builtin.getTypeInfo(Type.java:237)
[ERROR] 	at com.kenai.jffi.Type.resolveSize(Type.java:155)
[ERROR] 	at com.kenai.jffi.Type.size(Type.java:138)
[ERROR] 	at jnr.ffi.provider.jffi.NativeRuntime$TypeDelegate.size(NativeRuntime.java:198)
[ERROR] 	at jnr.ffi.provider.AbstractRuntime.<init>(AbstractRuntime.java:48)
[ERROR] 	at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:77)
[ERROR] 	at jnr.ffi.provider.jffi.NativeRuntime.<init>(NativeRuntime.java:49)
[ERROR] 	at jnr.ffi.provider.jffi.NativeRuntime$SingletonHolder.<clinit>(NativeRuntime.java:73)
[ERROR] 	at jnr.ffi.provider.jffi.NativeRuntime.getInstance(NativeRuntime.java:60)
[ERROR] 	at jnr.ffi.provider.jffi.Provider.<init>(Provider.java:29)
[ERROR] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[ERROR] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[ERROR] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[ERROR] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
[ERROR] 	at java.lang.Class.newInstance(Class.java:442)
[ERROR] 	at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.getInstance(FFIProvider.java:68)
[ERROR] 	at jnr.ffi.provider.FFIProvider$SystemProviderSingletonHolder.<clinit>(FFIProvider.java:57)
[ERROR] 	at jnr.ffi.provider.FFIProvider.getSystemProvider(FFIProvider.java:35          
        
1条回答
提交回复