java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB

Pentaho BI Platform Tracking | Golda David | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    When I run the workbench.bat script in Windows I get the following error DEBUG: Using JAVA_HOME DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files (x86)\Java\jre6 DEBUG: _PENTAHO_JAVA=C:\Program Files (x86)\Java\jre6\bin\java 14:58:04,747 ERROR [Workbench] main java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(Ba sePluginType.java:237) at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePlu ginType.java:500) at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginTy pe.java:115) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:4 20) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:121 ) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:68) at mondrian.gui.Workbench.getDbMeta(Workbench.java:1225) at mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193) at mondrian.gui.Workbench.<init>(Workbench.java:132) at mondrian.gui.Workbench.main(Workbench.java:2094) Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB 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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 10 more Press any key to continue . . . workbench.sh script starts workbench.

    Pentaho BI Platform Tracking | 4 years ago | Golda David
    java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB
  2. 0

    When I run the workbench.bat script in Windows I get the following error DEBUG: Using JAVA_HOME DEBUG: _PENTAHO_JAVA_HOME=C:\Program Files (x86)\Java\jre6 DEBUG: _PENTAHO_JAVA=C:\Program Files (x86)\Java\jre6\bin\java 14:58:04,747 ERROR [Workbench] main java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(Ba sePluginType.java:237) at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePlu ginType.java:500) at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginTy pe.java:115) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:4 20) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:121 ) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:68) at mondrian.gui.Workbench.getDbMeta(Workbench.java:1225) at mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193) at mondrian.gui.Workbench.<init>(Workbench.java:132) at mondrian.gui.Workbench.main(Workbench.java:2094) Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB 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 sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 10 more Press any key to continue . . . workbench.sh script starts workbench.

    Pentaho BI Platform Tracking | 4 years ago | Golda David
    java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB
  3. 0

    java.lang.ClassNotFoundException: org.scannotation.AnnotationDB

    pentaho.com | 2 years ago
    java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If you have plugins installed under the user's home .kettle/plugins folder, the following exceptions occur on startup: java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:235) at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:495) at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:115) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:420) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:90) at org.pentaho.aggdes.ui.UIMain.main(UIMain.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:115) Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 11 more

    Pentaho BI Platform Tracking | 4 years ago | Will Gorman
    java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB
  6. 0

    When starting PEC the following stack trace appears: java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB at org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:225) at org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:485) at org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:105) at org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:410) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:78) at org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:42) at com.pentaho.pac.server.StartupListener.contextInitialized(SourceFile:34) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130) at org.mortbay.jetty.Server.doStart(Server.java:222) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39) at org.pentaho.pac.server.JettyServer.startServer(JettyServer.java:152) at org.pentaho.pac.server.JettyServer.<init>(JettyServer.java:89) at com.pentaho.pac.server.ProJettyServer.<init>(SourceFile:31) at com.pentaho.pac.server.ProJettyServer.main(SourceFile:118) Caused by: java.lang.ClassNotFoundException: org.scannotation.AnnotationDB at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:248) ... 20 more The issue is that the version of PEC being shipped with PDI-EE does not currently contain the scannotation jar.

    Pentaho BI Platform Tracking | 6 years ago | Curtis Boyden
    java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB

  1. iferca 3 times, last 2 weeks ago
  2. andyglick 1 times, last 2 weeks ago
  3. Andreas Häber 2 times, last 3 weeks ago
  4. carloscharx 6 times, last 3 weeks ago
  5. poroszd 1 times, last 4 weeks ago
68 more registered users
27 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.scannotation.AnnotationDB

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(Unknown Source)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(Unknown Source)
    4. java.lang.ClassLoader.loadClass(Unknown Source)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    6. java.lang.ClassLoader.loadClass(Unknown Source)
    6 frames
  3. org.pentaho.di
    KettleEnvironment.init
    1. org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:237)
    2. org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:500)
    3. org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:115)
    4. org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:420)
    5. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:121)
    6. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:68)
    6 frames
  4. mondrian.gui
    Workbench.main
    1. mondrian.gui.Workbench.getDbMeta(Workbench.java:1225)
    2. mondrian.gui.Workbench.loadDatabaseMeta(Workbench.java:193)
    3. mondrian.gui.Workbench.<init>(Workbench.java:132)
    4. mondrian.gui.Workbench.main(Workbench.java:2094)
    4 frames