java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI

tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GeoServer 2.9.0 fails on MacOS with "Could not initialize class javax.media.jai.JAI"

    Geographic Information Systems | 7 months ago | Andre M
    java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI
  2. 0

    GeoServer HTTP error 404 at start up on OSX

    Geographic Information Systems | 1 month ago | jeremy g
    java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI
  3. 0

    GeoServer fails to deploy on Windows (missing JAI)

    GitHub | 3 years ago | bmmpxf
    java.lang.NoClassDefFoundError: javax/media/jai/JAI
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GeoServer / Mailing Lists

    sourceforge.net | 1 year ago
    java.lang.NoClassDefFoundError: javax/media/jai/ParameterBlockJAI
  6. 0

    GeoServer / Mailing Lists

    sourceforge.net | 6 months ago
    java.lang.NoClassDefFoundError: javax/media/jai/ParameterBlockJAI

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class javax.media.jai.JAI

      at org.geoserver.GeoserverInitStartupListener.contextInitialized()
    2. org.geoserver
      GeoserverInitStartupListener.contextInitialized
      1. org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:88)
      1 frame
    3. Jetty
      XmlConfiguration$1.run
      1. org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)
      2. org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)
      3. org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)
      4. org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)
      5. org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
      6. org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
      7. org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
      8. org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
      9. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      10. org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)
      11. org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)
      12. org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498)
      13. org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146)
      14. org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)
      15. org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:440)
      16. org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)
      17. org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)
      18. org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528)
      19. org.eclipse.jetty.util.Scanner.scan(Scanner.java:391)
      20. org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)
      21. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      22. org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)
      23. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      24. org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)
      25. org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)
      26. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      27. org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
      28. org.eclipse.jetty.server.Server.start(Server.java:387)
      29. org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
      30. org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
      31. org.eclipse.jetty.server.Server.doStart(Server.java:354)
      32. org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
      33. org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)
      33 frames
    4. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    5. Jetty
      XmlConfiguration.main
      1. org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    7. Jetty :: Start
      Main.start
      1. org.eclipse.jetty.start.Main.invokeMain(Main.java:321)
      2. org.eclipse.jetty.start.Main.start(Main.java:817)
      2 frames
    8. org.geoserver.console
      GeoServerConsole$Frame$8.run
      1. org.geoserver.console.GeoServerConsole$ProductionHandler.start(GeoServerConsole.java:129)
      2. org.geoserver.console.GeoServerConsole$Frame$8.run(GeoServerConsole.java:536)
      2 frames
    9. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame