-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] [install] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/DefaultParser #16675
Comments
Search before asking
What happened1.安装apache-dolphinscheduler-3.1.9,配置文件配置好的情况下,执行install.sh部署脚本,在安装过程中报: What you expected to happen如何解决? How to reproduce手动安装apache-dolphinscheduler-3.1.9,配置dolphinscheduler_env.sh、install_env.sh、common.properties,文件 Anything elseNo response Version3.1.x Are you willing to submit PR?
Code of Conduct
|
I have seem simialr error : 03:42:25.011 [main] INFO org.apache.zookeeper.common.X509Util - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation |
我看api-server、master-server、worker-server中的libs目录有commons-cli-1.2.jar,alert-server和tools中没有,于是将commons-cli-1.2.jar包拷贝到alert-server和tools中的libs目录,然后重新安装还是报这个错,但是现在阶段使用没问题,不知道后续有没有影响 |
Search before asking
What happened
1.安装apache-dolphinscheduler-3.1.9,配置文件配置好的情况下,执行install.sh部署脚本,在安装过程中报:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/DefaultParser
at org.apache.zookeeper.cli.DeleteAllCommand.parse(DeleteAllCommand.java:52)
at org.apache.zookeeper.ZooKeeperMain.processZKCmd(ZooKeeperMain.java:438)
at org.apache.zookeeper.ZooKeeperMain.processCmd(ZooKeeperMain.java:367)
at org.apache.zookeeper.ZooKeeperMain.run(ZooKeeperMain.java:350)
at org.apache.zookeeper.ZooKeeperMain.main(ZooKeeperMain.java:293)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.DefaultParser
at java.net.URLClassLoader.findClass(URLClassLoader.java:407)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
... 5 more
What you expected to happen
如何解决?
How to reproduce
手动安装apache-dolphinscheduler-3.1.9,配置dolphinscheduler_env.sh、install_env.sh、common.properties,文件
hadoop为高可用模式
Anything else
No response
Version
3.1.x
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: