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

About java.lang.NoClassDefFoundError: Could not initialize class org.bytedeco.javacpp.XXX problem #791

Closed
shiyulong opened this issue Sep 20, 2017 · 1 comment
Labels

Comments

@shiyulong
Copy link

  Many friends got such exception, include me! Now I will share my solution。
  Make sure all of the dependencies jar(javacv, javacpp, opencv, ffmpeg.. etc) in your libs, can solve most problems; 
 Otherwise, check -Xss,too small value could result in StackOverflowException which lead to not all of the .so file loaded,  and then got NoClassDefFoundError!  
 I encountered -Xss problem,default set -Xss256k; When modified -Xss1m, all work fine!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants