An internal error occurred during: "Compiling widgetset...".

When I try to compile a widgetset, I get the following error…

java.lang.NoClassDefFoundError: org/apache/ivyde/eclipse/cpcontainer/IvyClasspathContainer
    at com.vaadin.integration.eclipse.util.VaadinPluginUtil.getProjectBaseClasspath(
    at com.vaadin.integration.eclipse.util.WidgetsetUtil.buildCommonArgs(
    at com.vaadin.integration.eclipse.util.WidgetsetUtil.compileWidgetset(
    at com.vaadin.integration.eclipse.builder.WidgetsetBuildManager.compileWidgetsetIfNotRunning(
    at com.vaadin.integration.eclipse.builder.WidgetsetBuildManager.compileWidgetsets(
    at com.vaadin.integration.eclipse.handlers.CompileWidgetsetHandler$
Caused by: java.lang.ClassNotFoundException: org.apache.ivyde.eclipse.cpcontainer.IvyClasspathContainer cannot be found by com.vaadin.integration.eclipse_2.2.0.201306261112
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 7 more

This error started happening after upgrading to a newer version of Apache Ivy.

Uninstalling Apache IvyDE and resinstalling fixed the problem.

I am also getting this error, but after fresh install of Eclipse Kepler EE IDE, IvyDE 2.2.0 and Vaadin plugin 2.2.0. Reinstalling of Apache IvyDE did not help. Please help

Hi Štefan,

I had the exact same exception when creating a new Vaadin 7 project.

The suggestion I got was to install a previous version of IvyDE plugin. I ended up installing IvyDE 2.2.0 beta1 and the issue went away. Maybe that will also work in your case.

Original thread


Thanks it solved the problem.

Please note that the latest version of the Vaadin plug-in (released yesterday) requires IvyDE, whereas the previous build of the Vaadin plug-in required IvyDE 2.2.0.beta1.