Qihoo360 / Quicksql

A Flexible, Fast, Federated(3F) SQL Analysis Middleware for Multiple Data Sources
https://quicksql.readthedocs.io
MIT License
2.06k stars 583 forks source link

在linux部署项目后,使用./quicksql.sh -e "SELECT 1" --runner spark出错:.NoSuchMethodError: org.apache.commons.lang3.ObjectUtils.anyNotNull #234

Open zczc9609 opened 3 years ago

zczc9609 commented 3 years ago

Versions

eg: 0.7.0

Describe the bug

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.lang3.ObjectUtils.anyNotNull([Ljava/lang/Object;)Z at com.qihoo.qsql.launcher.ExecutionDispatcher.main(ExecutionDispatcher.java:82)

求教这是为什么

com-nvidia-yohuang commented 3 years ago

what is the version of commons-lang*?

zczc9609 commented 3 years ago

what is the version of commons-lang*? commons-lang-2.6.jar commons-lang3-3.8.jar

com-nvidia-yohuang commented 3 years ago

You can print the the JAVA class paths in bin/quicksql.sh, the error indicates the commons-lang3-3.8.jar is not in class path.

echo ">>${QSQL_LAUNCH_CLASSPATH}"

zczc9609 commented 3 years ago

You can print the the JAVA class paths in bin/quicksql.sh, the error indicates the commons-lang3-3.8.jar is not in class path.

echo ">>${QSQL_LAUNCH_CLASSPATH}"

I printed it out. It contains : /root/Quicksql/qsql-0.7.0/lib/commons-lang3-3.8.jar