Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
2.28.0
-
None
-
macOS Big Sur, version 11.2.1
MacBook Pro (13-inch, M1, 2020)
openjdk 15.0.2 2021-01-19
OpenJDK Runtime Environment AdoptOpenJDK (build 15.0.2+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15.0.2+7, mixed mode, sharing
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /opt/homebrew/Cellar/maven/3.6.3_1/libexec
Java version: 16, vendor: N/A, runtime: /opt/homebrew/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_IT, platform encoding: UTF-8
OS name: "mac os x", version: "11.2.1", arch: "aarch64", family: "mac"
macOS Big Sur, version 11.2.1 MacBook Pro (13-inch, M1, 2020) openjdk 15.0.2 2021-01-19 OpenJDK Runtime Environment AdoptOpenJDK (build 15.0.2+7) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 15.0.2+7, mixed mode, sharing Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: /opt/homebrew/Cellar/maven/3.6.3_1/libexec Java version: 16, vendor: N/A, runtime: /opt/homebrew/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home Default locale: en_IT, platform encoding: UTF-8 OS name: "mac os x", version: "11.2.1", arch: "aarch64", family: "mac"
Description
I'm trying to replicate the word-count java quick start https://beam.apache.org/get-started/quickstart-java/ running with {{direct-runner Runner }}on my MAC M1 and I get this error along the build
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java (default-cli) on project word-count-beam: An exception occured while executing the Java class. [FAILED_TO_LOAD_NATIVE_LIBRARY] no native library is found for os.name=Mac and os.arch=aarch64 -> [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
Attachments
Issue Links
- is fixed by
-
BEAM-8725 Beam Dependency Update Request: org.xerial.snappy
- Open