java.lang.NoClassDefFoundError: Timer

Coderanch | Mike Frya | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    runs perfectly only from my java\bin dir else errors...

    Coderanch | 1 decade ago | Mike Frya
    java.lang.NoClassDefFoundError: Timer

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Timer

      at bee2.paint()
    2. Unknown
      bee2.paint
      1. bee2.paint(bee2.java:143)
      1 frame
    3. Java RT
      EventDispatchThread.run
      1. sun.awt.RepaintArea.paint(RepaintArea.java:177)
      2. sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
      3. java.awt.Component.dispatchEventImpl(Component.java:3587)
      4. java.awt.Container.dispatchEventImpl(Container.java:1582)
      5. java.awt.Component.dispatchEvent(Component.java:3368)
      6. java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      7. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
      8. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      9. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      10. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
      11. java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
      11 frames