tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <spr...@gmx.eu>
Subject RE: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader
Date Thu, 23 Dec 2010 09:39:48 GMT
> running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while:
> 
> java.lang.ClassCastException: 
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot 
> be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader
> 
> at:
> 
> Iterator it = ImageIO.getImageReadersByFormatName("TIF");
> r = (TIFFImageReader)it.next(); //<==BANG

I solved that problem by moving jai_imageio.jar into JAVA/lib/ext. Moving it
to TOMCAT/lib did NOT solve the problem.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message