bndtools/bndtools — Issue #270: RC1 throws nosuchmethoderror when running a project
Author: paulbakker
Created: 2011-11-06 10:42:19+00:00
State: open

The project worked with the previous release, after upgrading to RC1 the following exception is thrown when I "run as osgi run" the bnd file:

java.lang.NoSuchMethodError: aQute.lib.osgi.Processor.printClauses(Ljava/util/Map;Ljava/lang/String;)Ljava/lang/String;
at aQute.launcher.plugin.ProjectLauncherImpl.getConstants(ProjectLauncherImpl.java:92)
at aQute.launcher.plugin.ProjectLauncherImpl.writeProperties(ProjectLauncherImpl.java:61)
at aQute.launcher.plugin.ProjectLauncherImpl.prepare(ProjectLauncherImpl.java:57)
at bndtools.launch.OSGiRunLaunchDelegate.initialiseBndLauncher(OSGiRunLaunchDelegate.java:39)
at bndtools.launch.AbstractOSGiLaunchDelegate.buildForLaunch(AbstractOSGiLaunchDelegate.java:40)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:822)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)