zapho commented on issue #1262:
URL: https://github.com/apache/maven-mvnd/issues/1262#issuecomment-2771569891
Hi there.
I still get a NoClassDefFoundError with 2.0.0-rc-3:
`
➜ mvnd -v
Apache Maven Daemon (mvnd) 2.0.0-rc-3 linux-amd64 native client
(f912362c18c9a75faf3e31a4e0e0b921206013b9)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty
org.jline.terminal.impl.jni.linux.LinuxNativePty
java.lang.ExceptionInInitializerError: null
➜ mvnd -v
Apache Maven Daemon (mvnd) 2.0.0-rc-3 linux-amd64 native client
(f912362c18c9a75faf3e31a4e0e0b921206013b9)
Terminal: org.jline.terminal.impl.PosixSysTerminal with pty
org.jline.terminal.impl.jni.linux.LinuxNativePty
java.lang.NoClassDefFoundError: Could not initialize class
org.mvndaemon.mvnd.nativ.CLibrary
➜ mvnd --status
ID PID Address Status RSS Last
activity Java home
e80d8651 149257 inet:/127.0.0.1:35799 Idle 65m
2025-04-02T09:15:22.881 /home/xyz1234/.sdkman/candidates/java/17.0.12-amzn
`
My environment:
Fedora 41
`
➜ which mvnd
~/.sdkman/candidates/mvnd/current/bin/mvnd
➜ mvn -v
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256)
Maven home: /home/xyz1234/tools/maven
Java version: 17.0.12, vendor: Amazon.com Inc., runtime:
/home/.xyz1234/.sdkman/candidates/java/17.0.12-amzn
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.13.8-200.fc41.x86_64", arch: "amd64", family:
"unix"
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]