Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    A few things cause this exception:
    1) Check if you have all jars and if they're in the correct path.
    2) Your classpath might be broken, you can define it in the command line with java -cp yourClassPath or at your IDE if you're using one.

  2. ,

    you can change your scala version to 2.11.11

Solutions on the web

via GitHub by moonlightheng
, 2 years ago
via GitHub by ChenJingLei
, 1 year ago
java.lang.NoClassDefFoundError: org/apache/commons/lang/StringUtils at us.codecraft.webmagic.downloader.HttpClientDownloader.getHtmlCharset( at us.codecraft.webmagic.downloader.HttpClientDownloader.getContent( at us.codecraft.webmagic.downloader.HttpClientDownloader.handleResponse( at at us.codecraft.webmagic.Spider.processRequest( at us.codecraft.webmagic.Spider$ at us.codecraft.webmagic.thread.CountableThreadPool$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at by: java.lang.ClassNotFoundException: org.apache.commons.lang.StringUtils at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( ... 10 more