Quicksql icon indicating copy to clipboard operation
Quicksql copied to clipboard

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

Open zczc9609 opened this issue 4 years ago • 4 comments

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)

求教这是为什么

zczc9609 avatar Jan 07 '21 11:01 zczc9609

what is the version of commons-lang*?

com-nvidia-yohuang avatar Jan 07 '21 11:01 com-nvidia-yohuang

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

zczc9609 avatar Jan 07 '21 11:01 zczc9609

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}"

com-nvidia-yohuang avatar Jan 07 '21 12:01 com-nvidia-yohuang

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

zczc9609 avatar Jan 07 '21 14:01 zczc9609