java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException

Pentaho BI Platform Tracking | Diethard Steiner | 4 years ago
  1. 0

    I downloaded the latest version from CI. I tried to reference kettle-core-*.jar from Squirrel and Squirrel throws following error: org/apache/commons/vfs/FileSystemException java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException at org.pentaho.di.version.BuildVersion.<init>(BuildVersion.java:86) at org.pentaho.di.version.BuildVersion.getInstance(BuildVersion.java:58) at org.pentaho.di.core.variables.Variables.<init>(Variables.java:59) at org.pentaho.di.core.util.EnvUtil.environmentInit(EnvUtil.java:98) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:35) at org.pentaho.di.core.jdbc.ThinDriver.<clinit>(ThinDriver.java:19) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.registerSQLDriver(SQLDriverManager.java:75) at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager$MyDriverListener.propertyChange(SQLDriverManager.java:197) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at net.sourceforge.squirrel_sql.fw.util.PropertyChangeReporter.firePropertyChange(PropertyChangeReporter.java:65) at net.sourceforge.squirrel_sql.fw.sql.SQLDriver.setJarFileNames(SQLDriver.java:277) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.applyFromDialog(DriverInternalFrame.java:246) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.performOk(DriverInternalFrame.java:221) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.access$200(DriverInternalFrame.java:57) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame$3.actionPerformed(DriverInternalFrame.java:373) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6288) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6053) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4651) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:616) at java.awt.EventQueue$2.run(EventQueue.java:614) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:613) at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.ClassNotFoundException: org.apache.commons.vfs.FileSystemException 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 net.sourceforge.squirrel_sql.fw.util.MyURLClassLoader.findClass(MyURLClassLoader.java:209) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 59 more Basically I can fetch the driver name and then I get this error. Any ideas what this is?

    Pentaho BI Platform Tracking | 4 years ago | Diethard Steiner
    java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException
  2. 0

    I downloaded the latest version from CI. I tried to reference kettle-core-*.jar from Squirrel and Squirrel throws following error: org/apache/commons/vfs/FileSystemException java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException at org.pentaho.di.version.BuildVersion.<init>(BuildVersion.java:86) at org.pentaho.di.version.BuildVersion.getInstance(BuildVersion.java:58) at org.pentaho.di.core.variables.Variables.<init>(Variables.java:59) at org.pentaho.di.core.util.EnvUtil.environmentInit(EnvUtil.java:98) at org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:35) at org.pentaho.di.core.jdbc.ThinDriver.<clinit>(ThinDriver.java:19) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.registerSQLDriver(SQLDriverManager.java:75) at net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager$MyDriverListener.propertyChange(SQLDriverManager.java:197) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276) at net.sourceforge.squirrel_sql.fw.util.PropertyChangeReporter.firePropertyChange(PropertyChangeReporter.java:65) at net.sourceforge.squirrel_sql.fw.sql.SQLDriver.setJarFileNames(SQLDriver.java:277) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.applyFromDialog(DriverInternalFrame.java:246) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.performOk(DriverInternalFrame.java:221) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.access$200(DriverInternalFrame.java:57) at net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame$3.actionPerformed(DriverInternalFrame.java:373) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6288) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6053) at java.awt.Container.processEvent(Container.java:2041) at java.awt.Component.dispatchEventImpl(Component.java:4651) at java.awt.Container.dispatchEventImpl(Container.java:2099) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168) at java.awt.Container.dispatchEventImpl(Container.java:2085) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4481) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643) at java.awt.EventQueue.access$000(EventQueue.java:84) at java.awt.EventQueue$1.run(EventQueue.java:602) at java.awt.EventQueue$1.run(EventQueue.java:600) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$2.run(EventQueue.java:616) at java.awt.EventQueue$2.run(EventQueue.java:614) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:613) at net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) Caused by: java.lang.ClassNotFoundException: org.apache.commons.vfs.FileSystemException 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 net.sourceforge.squirrel_sql.fw.util.MyURLClassLoader.findClass(MyURLClassLoader.java:209) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 59 more Basically I can fetch the driver name and then I get this error. Any ideas what this is?

    Pentaho BI Platform Tracking | 4 years ago | Diethard Steiner
    java.lang.NoClassDefFoundError: org/apache/commons/vfs/FileSystemException
  3. 0

    Users - Not able to connect to a MySQL Database

    nabble.com | 1 year ago
    java.lang.NoClassDefFoundError: org/fife/ui/rtextarea/RTextArea
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SQuirreL SQL Client / Bugs / #1190 Squirrel SQL DB2 io/bytetocharconverter

    sourceforge.net | 11 months ago
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter
  6. 0

    Discussion of SQuirreL SQL Universal SQL Client

    gmane.org | 8 months ago
    java.lang.NoClassDefFoundError: org/fife/ui/rtextarea/RTextArea

  1. jstrayer 1 times, last 3 months ago
  2. Justin 1 times, last 4 months ago
81 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.apache.commons.vfs.FileSystemException

    at java.net.URLClassLoader$1.run()
  2. Java RT
    URLClassLoader.findClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    3 frames
  3. net.sourceforge.squirrel_sql
    MyURLClassLoader.findClass
    1. net.sourceforge.squirrel_sql.fw.util.MyURLClassLoader.findClass(MyURLClassLoader.java:209)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    2 frames
  5. org.pentaho.di
    ThinDriver.<clinit>
    1. org.pentaho.di.version.BuildVersion.<init>(BuildVersion.java:86)
    2. org.pentaho.di.version.BuildVersion.getInstance(BuildVersion.java:58)
    3. org.pentaho.di.core.variables.Variables.<init>(Variables.java:59)
    4. org.pentaho.di.core.util.EnvUtil.environmentInit(EnvUtil.java:98)
    5. org.pentaho.di.core.KettleClientEnvironment.init(KettleClientEnvironment.java:35)
    6. org.pentaho.di.core.jdbc.ThinDriver.<clinit>(ThinDriver.java:19)
    6 frames
  6. Java RT
    Class.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    5. java.lang.Class.newInstance0(Class.java:355)
    6. java.lang.Class.newInstance(Class.java:308)
    6 frames
  7. net.sourceforge.squirrel_sql
    SQLDriverManager$MyDriverListener.propertyChange
    1. net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager.registerSQLDriver(SQLDriverManager.java:75)
    2. net.sourceforge.squirrel_sql.fw.sql.SQLDriverManager$MyDriverListener.propertyChange(SQLDriverManager.java:197)
    2 frames
  8. Java RT
    PropertyChangeSupport.firePropertyChange
    1. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    2. java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    2 frames
  9. net.sourceforge.squirrel_sql
    DriverInternalFrame$3.actionPerformed
    1. net.sourceforge.squirrel_sql.fw.util.PropertyChangeReporter.firePropertyChange(PropertyChangeReporter.java:65)
    2. net.sourceforge.squirrel_sql.fw.sql.SQLDriver.setJarFileNames(SQLDriver.java:277)
    3. net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.applyFromDialog(DriverInternalFrame.java:246)
    4. net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.performOk(DriverInternalFrame.java:221)
    5. net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame.access$200(DriverInternalFrame.java:57)
    6. net.sourceforge.squirrel_sql.client.gui.db.DriverInternalFrame$3.actionPerformed(DriverInternalFrame.java:373)
    6 frames
  10. Java RT
    EventQueue.dispatchEvent
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    6. java.awt.Component.processMouseEvent(Component.java:6288)
    7. javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    8. java.awt.Component.processEvent(Component.java:6053)
    9. java.awt.Container.processEvent(Container.java:2041)
    10. java.awt.Component.dispatchEventImpl(Component.java:4651)
    11. java.awt.Container.dispatchEventImpl(Container.java:2099)
    12. java.awt.Component.dispatchEvent(Component.java:4481)
    13. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
    14. java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    15. java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    16. java.awt.Container.dispatchEventImpl(Container.java:2085)
    17. java.awt.Window.dispatchEventImpl(Window.java:2478)
    18. java.awt.Component.dispatchEvent(Component.java:4481)
    19. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
    20. java.awt.EventQueue.access$000(EventQueue.java:84)
    21. java.awt.EventQueue$1.run(EventQueue.java:602)
    22. java.awt.EventQueue$1.run(EventQueue.java:600)
    23. java.security.AccessController.doPrivileged(Native Method)
    24. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    25. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
    26. java.awt.EventQueue$2.run(EventQueue.java:616)
    27. java.awt.EventQueue$2.run(EventQueue.java:614)
    28. java.security.AccessController.doPrivileged(Native Method)
    29. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    30. java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
    30 frames
  11. net.sourceforge.squirrel_sql
    Main$1.dispatchEvent
    1. net.sourceforge.squirrel_sql.client.Main$1.dispatchEvent(Main.java:99)
    1 frame
  12. Java RT
    EventDispatchThread.run
    1. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    2. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    3. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    4. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    5. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    6. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    6 frames