org.eclipse.swt.SWTException

Failed to execute runnable (java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchException)

Samebug tips9

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 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.

If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add to your dependencies. To add it, the groupId is com.fasterxml and artifactId is Classmate.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1416

  • via pentaho.com by Unknown author, 1 year ago
    Failed to execute runnable (java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchException)
  • via Pentaho BI Platform Tracking by santosh.bhagavatula, 1 year ago
    Failed to execute runnable (java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchException)
  • via Pentaho BI Platform Tracking by santosh.bhagavatula, 1 year ago
    Failed to execute runnable (java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchException)
  • Stack trace

    • org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchException) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.SWT.error(Unknown Source) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1227) at org.pentaho.di.ui.spoon.Spoon.waitForDispose(Spoon.java:7351) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:8656) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:625) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134) Caused by: java.lang.NoClassDefFoundError: org/elasticsearch/ElasticSearchException at org.pentaho.di.trans.steps.elasticsearchbulk.ElasticSearchBulkMeta.getStep(ElasticSearchBulkMeta.java:691) at org.pentaho.di.trans.Trans.prepareExecution(Trans.java:834) at org.pentaho.di.ui.spoon.trans.TransGraph.debug(TransGraph.java:3671) at org.pentaho.di.ui.spoon.delegates.SpoonTransformationDelegate.executeTransformation(SpoonTransformationDelegate.java:928) at org.pentaho.di.ui.spoon.Spoon$35$1.run(Spoon.java:7935) at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source) ... 12 more Caused by: java.lang.ClassNotFoundException: org.elasticsearch.ElasticSearchException at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 18 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    2 times, 6 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    2376 more bugmates