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

I am installing GeoServer 2.9.0 (Mac OSX Installer) for the first time on MacOS X 10.11.5 and it fails with the error below. I have no ~/Library/Java folder, my /Library/Java/Extensions is empty and the CLASSPATH environment variable is unset. The java -version is 1.8.0_31, but the application appears to provide its own 1.8.0_73 JDK.

Any ideas?

WARNING: Module not found [ssl] 2016-07-29 16:48:39.629:INFO::startup executor: Logging initialized @4032ms 2016-07-29 16:48:39.822:INFO:oejs.Server:startup executor: jetty-9.2.13.v20150730 2016-07-29 16:48:39.851:INFO:oejdp.ScanningAppProvider:startup executor: Deployment monitor [file:/Applications/GeoServer.app/Contents/Java/webapps/] at interval 1 2016-07-29 16:48:40.845:INFO:oejw.StandardDescriptorProcessor:startup executor: NO JSP Support for /geoserver, did not find org.eclipse.jetty.jsp.JettyJspServlet 2016-07-29 16:48:41.225:WARN:oejuc.AbstractLifeCycle:startup executor: FAILED [email protected]{/geoserver,file:/Applications/GeoServer.app/Contents/Java/webapps/geoserver/,STARTING}{/geoserver}: java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI     at org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:88)     at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)     at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)     at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)     at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)     at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)     at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)     at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)     at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)     at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)     at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498)     at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146)     at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)     at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:440)     at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)     at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)     at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528)     at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391)     at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)     at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)     at org.eclipse.jetty.server.Server.start(Server.java:387)     at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)     at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)     at org.eclipse.jetty.server.Server.doStart(Server.java:354)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)     at java.security.AccessController.doPrivileged(Native Method)     at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)     at org.eclipse.jetty.start.Main.start(Main.java:817)     at org.geoserver.console.GeoServerConsole$ProductionHandler.start(GeoServerConsole.java:129)     at org.geoserver.console.GeoServerConsole$Frame$8.run(GeoServerConsole.java:536)     at java.lang.Thread.run(Thread.java:745) 2016-07-29 16:48:41.227:WARN:oejd.DeploymentManager:startup executor: Unable to reach node goal: started java.lang.NoClassDefFoundError: Could not initialize class javax.media.jai.JAI     at org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:88)     at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:800)     at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:444)     at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:791)     at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:294)     at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)     at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)     at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)     at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:41)     at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186)     at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:498)     at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:146)     at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:180)     at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:440)     at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:64)     at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:609)     at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:528)     at org.eclipse.jetty.util.Scanner.scan(Scanner.java:391)     at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:313)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:150)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:560)     at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:235)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)     at org.eclipse.jetty.server.Server.start(Server.java:387)     at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)     at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)     at org.eclipse.jetty.server.Server.doStart(Server.java:354)     at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)     at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1255)     at java.security.AccessController.doPrivileged(Native Method)     at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1174)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:497)     at org.eclipse.jetty.start.Main.invokeMain(Main.java:321)     at org.eclipse.jetty.start.Main.start(Main.java:817)     at org.geoserver.console.GeoServerConsole$ProductionHandler.start(GeoServerConsole.java:129)     at org.geoserver.console.GeoServerConsole$Frame$8.run(GeoServerConsole.java:536)     at java.lang.Thread.run(Thread.java:745) 2016-07-29 16:48:41.316:INFO:oejs.ServerConnector:startup executor: Started [email protected]{HTTP/1.1}{0.0.0.0:8080} 

update: I downloaded 2.8.4 and this works without any issues, but I would still be curious to know whether this is a bug in 2.9.0 (didn't see anything of note in the issue tracker) or something related to a configuration?

Replay

Category: geoserver Time: 2016-07-29 Views: 0
Tags: java geoserver

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.112 (s). 12 q(s)