"java.lang.NoClassDefFoundError com froglogic squish UITask"

Last edited on

Overview

You get this error message in the Runner/Server log:

java.lang.NoClassDefFoundError: com/froglogic/squish/UITask

This is what the error might look like in context:

!ENTRY org.eclipse.osgi 4 0 2013-07-24 17:12:55.275
  !MESSAGE Application error
  !STACK 1
  java.lang.NoClassDefFoundError: com/froglogic/squish/UITask
  at org.eclipse.swt.widgets.Display.<init>(Display.java:419)
  at org.eclipse.swt.widgets.Display.<init>(Display.java:480)
  at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:669)
  at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
  at com.vw.cop.fh.fispp.workerguidance.client.Application.start(Application.java:23)
  at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
  at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
  at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
  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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
  at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
  at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
  Caused by: java.lang.ClassNotFoundException: com.froglogic.squish.UITask
  at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
  at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
  at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  ... 17 more

Possible Cause

The file <SQUISH_DIR>\lib\squishrt.jar is missing. This file is created when running the Squish setup procedure.

Possible Solution

Execute the Squish setup procedure at