start up problems with java.lang.ClassCastException
I tried geoserver on ubuntu, it failed with a lot of errors about
java.util.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi: Provider it.geosolutions.imageio.stream.input.spi.FileImageInputStreamExtImplSpi could not be instantiated: java.lang.ClassCastException: Cannot cast it.geosolutions.imageio.stream.input.spi.FileImageInputStreamExtImplSpi to javax.imageio.spi.ImageReaderSpi
It seems to be caused by which jvm is being used, I found by switching from the openjdk to suns jvm resolved the problem for myself.
You can discover which jvm is being used by doing a java -version.
Which jvm gets used on a specfic platform is platform specfic issue, on ubuntu doing a update-alternatives --config java will allow to choose which is the default java virtual machine used by default.