该项目在本地运行得非常好,但是当尝试部署到 Heroku 时,我在构建日志中遇到了这个错误并且完全迷失了并且找不到任何关于它的信息。
-----> Executing Maven
$ ./mvnw -DskipTests clean dependency:list install
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< com.grdfs:backend >--------------------------
[INFO] Building backend 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] Downloading from project.local: file:/tmp/build_e9fcbb94/repo/io/grpc/grpc-core/maven-metadata.xml
[INFO] Downloading from project.local: file:/tmp/build_e9fcbb94/repo/com/example/ortools/1.0/ortools-1.0.pom
[INFO] Downloaded from project.local: file:/tmp/build_e9fcbb94/repo/com/example/ortools/1.0/ortools-1.0.pom (390 B at 39 kB/s)
[INFO] Downloading from project.local: file:/tmp/build_e9fcbb94/repo/com/example/ortools/1.0/ortools-1.0.jar
[INFO] Downloaded from project.local: file:/tmp/build_e9fcbb94/repo/com/example/ortools/1.0/ortools-1.0.jar (12 MB at 19 MB/s)
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (default-clean) @ backend ---
[INFO]
[INFO] --- maven-dependency-plugin:3.3.0:list (default-cli) @ backend ---
[INFO] Can't extract module name from ortools-linux-x86-64-9.5.2237.jar: ortools.linux.x86.64: Invalid module name: '64' is not a Java identifier
[INFO] Can't extract module name from ortools-darwin-x86-64-9.5.2237.jar: ortools.darwin.x86.64: Invalid module name: '64' is not a Java identifier
[INFO] Can't extract module name from ortools-win32-x86-64-9.5.2237.jar: ortools.win32.x86.64: Invalid module name: '64' is not a Java identifier
[INFO]