java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB

Pentaho BI Platform Tracking | Will Gorman | 4 years ago
  1. 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
  2. 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
  3. 0

    java.lang.ClassNotFoundException: org.scannotation.AnnotationDB

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

    Automated exception search integrated into your IDE

  5. 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
  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. archenroot 1 times, last 2 weeks ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 3 weeks ago
  5. kjhdofjosvs 3 times, last 3 weeks ago
63 more registered users
32 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(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    5 frames
  3. org.pentaho.di
    KettleEnvironment.init
    1. org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:235)
    2. org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:495)
    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:90)
    5 frames
  4. org.pentaho.aggdes
    UIMain.main
    1. org.pentaho.aggdes.ui.UIMain.main(UIMain.java:52)
    1 frame
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  6. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:115)
    1 frame