ppkarwasz commented on issue #3978: URL: https://github.com/apache/logging-log4j2/issues/3978#issuecomment-3484304353
Hi @jim-parsons, The `NoClassDefFoundError` linkage error is never the **primary** cause, it always results from an earlier problem when the JVM tried to load **or** initialize that class. Could you check your logs for a preceding exception that cites the cause? It might be a `ClassNotFoundException` (which would be unusual here) or another kind of initialization failure. Also, could you share the exact vendor and version of your JRE/JDK? I ran our [`log4j-samples-jlink`](https://github.com/apache/logging-log4j-samples/tree/main/log4j-samples-jlink) test successfully on **Temurin 25.0.1+8 (build 25.0.1+8-LTS)** on Debian, but I did encounter issues with older Java 25 builds. -- 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]
