You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All jars are being downloaded properly when I am doing maven build and then docker image building. But when I am trying to run the container I am getting following error in logs.
2021-07-27 09:07:55.200:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@7644fdbd{Cantaloupe,/,file:///tmp/jetty-0.0.0.0-9016-cantaloupe.war-_-any-2847888525028026762.dir/webapp/,UNAVAILABLE}{/cantaloupe.war}
java.lang.NoClassDefFoundError: it.geosolutions.imageio.utilities.ImageIOUtilities
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageWriterSpi.onRegistration(TIFFImageWriterSpi.java:145)
at javax.imageio.spi.SubRegistry.registerServiceProvider(ServiceRegistry.java:731)
at javax.imageio.spi.ServiceRegistry.registerServiceProvider(ServiceRegistry.java:310)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:211)
at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:138)
at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:159)
at javax.imageio.ImageIO.<clinit>(ImageIO.java:66)
at edu.illinois.library.cantaloupe.processor.codec.IIOProviderContextListener.contextInitialized(IIOProviderContextListener.java:59)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:952)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:917)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:847)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:416)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:383)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at edu.illinois.library.cantaloupe.ApplicationServer.start(ApplicationServer.java:350)
at edu.illinois.library.cantaloupe.StandaloneEntry.main(StandaloneEntry.java:97)
Caused by:
java.lang.ClassNotFoundException: it.geosolutions.imageio.utilities.ImageIOUtilities
at java.net.URLClassLoader.findClass(URLClassLoader.java:591)
at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:951)
at java.lang.ClassLoader.loadClass(ClassLoader.java:896)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
at java.lang.ClassLoader.loadClass(ClassLoader.java:879)
at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:565)
at java.lang.ClassLoader.loadClass(ClassLoader.java:879)
at it.geosolutions.imageioimpl.plugins.tiff.TIFFImageWriterSpi.onRegistration(TIFFImageWriterSpi.java:145)
at javax.imageio.spi.SubRegistry.registerServiceProvider(ServiceRegistry.java:731)
at javax.imageio.spi.ServiceRegistry.registerServiceProvider(ServiceRegistry.java:310)
at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:211)
at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:138)
at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:159)
at javax.imageio.ImageIO.<clinit>(ImageIO.java:66)
at edu.illinois.library.cantaloupe.processor.codec.IIOProviderContextListener.contextInitialized(IIOProviderContextListener.java:59)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:952)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:917)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:847)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:416)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:383)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at edu.illinois.library.cantaloupe.ApplicationServer.start(ApplicationServer.java:350)
at edu.illinois.library.cantaloupe.StandaloneEntry.main(StandaloneEntry.java:97)
2021-07-27 09:07:55.212:INFO:oejs.AbstractConnector:main: Started ServerConnector@dbc5a1c2{HTTP/1.1,[http/1.1]}{0.0.0.0:9016}
2021-07-27 09:07:55.213:INFO:oejs.Server:main: Started @3188ms
Am I doing something wrong in the process?
The text was updated successfully, but these errors were encountered:
Hi I am using older versions of imageio,
Here are details of dependencies which I am using in pom.xml.
I have uploaded all jars to nexus which I am using as repository manager,
All jars are being downloaded properly when I am doing maven build and then docker image building. But when I am trying to run the container I am getting following error in logs.
Am I doing something wrong in the process?
The text was updated successfully, but these errors were encountered: