java.lang.NoClassDefFoundError: org/scannotation/AnnotationDB

Pentaho BI Platform Tracking | Curtis Boyden | 6 years ago
  1. 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
  2. 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
  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

    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 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

  1. archenroot 1 times, last 1 week ago
  2. tyson925 5 times, last 2 weeks ago
  3. tzrlk 1 times, last 2 weeks ago
  4. musketyr 1 times, last 2 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:307)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    6 frames
  3. org.pentaho.di
    KettleEnvironment.init
    1. org.pentaho.di.core.plugins.BasePluginType.findAnnotatedClassFiles(BasePluginType.java:225)
    2. org.pentaho.di.core.plugins.BasePluginType.registerPluginJars(BasePluginType.java:485)
    3. org.pentaho.di.core.plugins.BasePluginType.searchPlugins(BasePluginType.java:105)
    4. org.pentaho.di.core.plugins.PluginRegistry.init(PluginRegistry.java:410)
    5. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:78)
    6. org.pentaho.di.core.KettleEnvironment.init(KettleEnvironment.java:42)
    6 frames
  4. com.pentaho.pac
    StartupListener.contextInitialized
    1. com.pentaho.pac.server.StartupListener.contextInitialized(SourceFile:34)
    1 frame
  5. Jetty Server
    ContextHandler.doStart
    1. org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
    2. org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
    3. org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
    3 frames
  6. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  7. Jetty Server
    HandlerCollection.doStart
    1. org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    1 frame
  8. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  9. Jetty Server
    Server.doStart
    1. org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    2. org.mortbay.jetty.Server.doStart(Server.java:222)
    2 frames
  10. Jetty Util
    AbstractLifeCycle.start
    1. org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
    1 frame
  11. org.pentaho.pac
    JettyServer.<init>
    1. org.pentaho.pac.server.JettyServer.startServer(JettyServer.java:152)
    2. org.pentaho.pac.server.JettyServer.<init>(JettyServer.java:89)
    2 frames
  12. com.pentaho.pac
    ProJettyServer.main
    1. com.pentaho.pac.server.ProJettyServer.<init>(SourceFile:31)
    2. com.pentaho.pac.server.ProJettyServer.main(SourceFile:118)
    2 frames