org.geoserver.GeoserverInitStartupListener: java.lang.NoClassDefFoundError: com/sun/imageio/spi/FileImageInputStreamSpi

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Check if the version of resteasy is using is the same JBoss is using. To find it out, search for resteasy-jaxrs* in JBoss/Wildfly directory and at your pom.xml.

Solutions on the web

via jboss.org by Unknown author, 1 year ago
java.lang.NoClassDefFoundError: com/sun/imageio/spi/FileImageInputStreamSpi
via jboss.org by Unknown author, 2 years ago
java.lang.NoClassDefFoundError: com/sun/imageio/spi/FileImageInputStreamSpi
via jboss.org by Unknown author, 1 year ago
java.lang.NoClassDefFoundError: com/sun/imageio/spi/FileImageInputStreamSpi
via GitHub by sbalasub
, 2 years ago
java.lang.NoClassDefFoundError: com/sun/imageio/spi/FileImageInputStreamSpi
java.lang.ClassNotFoundException: com.sun.imageio.spi.FileImageInputStreamSpi from [Module "deployment.geoserver.war:main" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120)
at it.geosolutions.imageio.stream.input.spi.FileImageInputStreamExtImplSpi.onRegistration(FileImageInputStreamExtImplSpi.java:106)
at javax.imageio.spi.SubRegistry.registerServiceProvider(ServiceRegistry.java:715)
at javax.imageio.spi.ServiceRegistry.registerServiceProvider(ServiceRegistry.java:302)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:211)
at javax.imageio.spi.IIORegistry.(IIORegistry.java:138)
at org.geotools.image.io.ImageIOExt.allowNativeCodec(ImageIOExt.java:170)
at org.geoserver.GeoserverInitStartupListener.contextInitialized(GeoserverInitStartupListener.java:117)
at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)

Users with the same issue

3 times, 3 months ago
Once, 7 months ago
2 times, 1 year ago
92 times, 1 year ago
8 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.