Skip to content
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

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

Open
zczc9609 opened this issue Jan 7, 2021 · 4 comments

Comments

@zczc9609
Copy link

zczc9609 commented Jan 7, 2021

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
Copy link

what is the version of commons-lang*?

@zczc9609
Copy link
Author

zczc9609 commented Jan 7, 2021

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

@com-nvidia-yohuang
Copy link

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
Copy link
Author

zczc9609 commented Jan 7, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants