java.lang.NoClassDefFoundError: com/izforge/izpack/panels/packs/PacksPanelInterface

JIRA | Christoph Panwinkler | 5 years ago
  1. 0

    izpack-maven-plugin does not pack depending classes for TreePacksPanel (com/izforge/izpack/panels/packs package does not get packed). Using PacksPanel instead of TreePacksPanel works. Following exception is thrown whenever I start the installer by java -jar target/test-1-0-SNAPSHOT-installer.jar Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/izforge/izpack/panels/packs/PacksPanelInterface at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.izforge.izpack.merge.resolve.ClassPathCrawler.searchClassInClassPath(ClassPathCrawler.java:120) at com.izforge.izpack.installer.manager.PanelManager.loadPanelsInContainer(PanelManager.java:72) at com.izforge.izpack.installer.base.InstallerController.preloadInstaller(InstallerController.java:30) at com.izforge.izpack.installer.bootstrap.InstallerGui$1.run(InstallerGui.java:50) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641) 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.awt.EventQueue.dispatchEvent(EventQueue.java:611) 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: com.izforge.izpack.panels.packs.PacksPanelInterface 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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 32 more

    JIRA | 5 years ago | Christoph Panwinkler
    java.lang.NoClassDefFoundError: com/izforge/izpack/panels/packs/PacksPanelInterface
  2. 0

    Legacy issues from Codehaus JIRA

    izpack.org | 6 months ago
    java.lang.NoClassDefFoundError: com/izforge/izpack/panels/packs/PacksPanelInterface
  3. 0

    izpack-maven-plugin does not pack depending classes for TreePacksPanel (com/izforge/izpack/panels/packs package does not get packed). Using PacksPanel instead of TreePacksPanel works. Following exception is thrown whenever I start the installer by java -jar target/test-1-0-SNAPSHOT-installer.jar Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/izforge/izpack/panels/packs/PacksPanelInterface at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at com.izforge.izpack.merge.resolve.ClassPathCrawler.searchClassInClassPath(ClassPathCrawler.java:120) at com.izforge.izpack.installer.manager.PanelManager.loadPanelsInContainer(PanelManager.java:72) at com.izforge.izpack.installer.base.InstallerController.preloadInstaller(InstallerController.java:30) at com.izforge.izpack.installer.bootstrap.InstallerGui$1.run(InstallerGui.java:50) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641) 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.awt.EventQueue.dispatchEvent(EventQueue.java:611) 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: com.izforge.izpack.panels.packs.PacksPanelInterface 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 sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) ... 32 more

    JIRA | 5 years ago | Christoph Panwinkler
    java.lang.NoClassDefFoundError: com/izforge/izpack/panels/packs/PacksPanelInterface
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ClassNotFoundException when running leiningen 2 on a working project

    GitHub | 4 years ago | wjlroe
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: clojure/lang/IHashEq

  1. rlovtangen 2 times, last 1 week ago
  2. serious2monkeys 1 times, last 2 weeks ago
  3. rp 1 times, last 2 weeks ago
  4. malhobayyeb 3 times, last 2 weeks ago
  5. kjhdofjosvs 23 times, last 3 weeks ago
5 more registered users
90 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

    com.izforge.izpack.panels.packs.PacksPanelInterface

    at java.net.URLClassLoader$1.run()
  2. Java RT
    Class.forName
    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. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    7. java.lang.ClassLoader.defineClass1(Native Method)
    8. java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    9. java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    10. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    11. java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    12. java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    13. java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    14. java.security.AccessController.doPrivileged(Native Method)
    15. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    16. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    17. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    18. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    19. java.lang.Class.forName0(Native Method)
    20. java.lang.Class.forName(Class.java:169)
    20 frames
  3. com.izforge.izpack
    InstallerGui$1.run
    1. com.izforge.izpack.merge.resolve.ClassPathCrawler.searchClassInClassPath(ClassPathCrawler.java:120)
    2. com.izforge.izpack.installer.manager.PanelManager.loadPanelsInContainer(PanelManager.java:72)
    3. com.izforge.izpack.installer.base.InstallerController.preloadInstaller(InstallerController.java:30)
    4. com.izforge.izpack.installer.bootstrap.InstallerGui$1.run(InstallerGui.java:50)
    4 frames
  4. Java RT
    EventDispatchThread.run
    1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    2. java.awt.EventQueue.dispatchEventImpl(EventQueue.java:641)
    3. java.awt.EventQueue.access$000(EventQueue.java:84)
    4. java.awt.EventQueue$1.run(EventQueue.java:602)
    5. java.awt.EventQueue$1.run(EventQueue.java:600)
    6. java.security.AccessController.doPrivileged(Native Method)
    7. java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
    8. java.awt.EventQueue.dispatchEvent(EventQueue.java:611)
    9. java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    10. java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    11. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    12. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    13. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
    14. java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    14 frames