java.lang.ClassNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problem can be reproduced by creating an app.groovy file with something like this in it: {noformat} @RestController class App { @RequestMapping("/") def home() { "Hello, world!" } } {noformat} Then Right-click the file and "Run As >>Spring Boot CLI Script". Error: {noformat} eclipse.buildId=unknown java.version=1.8.0_31 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA Framework arguments: -application org.eclipse.ui.ide.workbench -Dosgi.framework.extensions=org.eclipse.fx.osgi Command-line arguments: -application org.eclipse.ui.ide.workbench -data /home/kdvolder/workspaces-sts/test-annotation-processing -dev file:/home/kdvolder/workspaces-sts/spring-ide/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog -Dosgi.framework.extensions=org.eclipse.fx.osgi org.eclipse.equinox.registry Error Wed May 06 12:08:15 PDT 2015 Plug-in org.springframework.ide.eclipse.boot.launch was unable to load class org.springframework.ide.eclipse.boot.core.cli.BootGroovyScriptLaunchConfigurationDelegate. java.lang.ClassNotFoundException: org.springframework.ide.eclipse.boot.core.cli.BootGroovyScriptLaunchConfigurationDelegate cannot be found by org.springframework.ide.eclipse.boot.launch_3.7.0.qualifier at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.debug.internal.core.LaunchDelegate.getDelegate(LaunchDelegate.java:86) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:763) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}
    via by Kris De Volder (c),
  • Problem can be reproduced by creating an app.groovy file with something like this in it: {noformat} @RestController class App { @RequestMapping("/") def home() { "Hello, world!" } } {noformat} Then Right-click the file and "Run As >>Spring Boot CLI Script". Error: {noformat} eclipse.buildId=unknown java.version=1.8.0_31 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_CA Framework arguments: -application org.eclipse.ui.ide.workbench -Dosgi.framework.extensions=org.eclipse.fx.osgi Command-line arguments: -application org.eclipse.ui.ide.workbench -data /home/kdvolder/workspaces-sts/test-annotation-processing -dev file:/home/kdvolder/workspaces-sts/spring-ide/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog -Dosgi.framework.extensions=org.eclipse.fx.osgi org.eclipse.equinox.registry Error Wed May 06 12:08:15 PDT 2015 Plug-in org.springframework.ide.eclipse.boot.launch was unable to load class org.springframework.ide.eclipse.boot.core.cli.BootGroovyScriptLaunchConfigurationDelegate. java.lang.ClassNotFoundException: org.springframework.ide.eclipse.boot.core.cli.BootGroovyScriptLaunchConfigurationDelegate cannot be found by org.springframework.ide.eclipse.boot.launch_3.7.0.qualifier at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.debug.internal.core.LaunchDelegate.getDelegate(LaunchDelegate.java:86) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:763) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {noformat}
    via by Kris De Volder (c),
  • GitHub comment 16#94564133
    via GitHub by jcagarcia
    ,
    • java.lang.ClassNotFoundException: org.springframework.ide.eclipse.boot.core.cli.BootGroovyScriptLaunchConfigurationDelegate cannot be found by org.springframework.ide.eclipse.boot.launch_3.7.0.qualifier at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:432) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:345) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:337) at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:568) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55) at org.eclipse.debug.internal.core.LaunchDelegate.getDelegate(LaunchDelegate.java:86) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:763) at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739) at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039) at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    115 more bugmates