weizhouapache commented on PR #7131: URL: https://github.com/apache/cloudstack/pull/7131#issuecomment-1692145470
@JoaoJandre see the errors below ``` 18:44:16 stderr: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/logging/log4j/LogManager 18:44:16 at com.cloud.utils.crypt.CloudStackEncryptor.<init>(CloudStackEncryptor.java:33) 18:44:16 at com.cloud.utils.crypt.EncryptionCLI.main(EncryptionCLI.java:63) 18:44:16 Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.LogManager 18:44:16 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) 18:44:16 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) 18:44:16 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) 18:44:16 ... 2 more ``` I think you need to replace `ch.qos.reload4j` with `org.apache.logging.log4j` in the list below https://github.com/apache/cloudstack/blob/3b05797344c15a9fbd6bee4ecd38281b677f24a2/utils/pom.xml#L266-L274 -- 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]
