javax.imageio.spi.ImageWriterSpi: Illegal configuration-file syntaxNovember 4, 2004Recently a client who ordered a customized version of Rad Upload http://sitenamedeleted.com/META-INF/services/javax.imageio.spi.ImageWriterSpi:1: Illegal configuration-file syntax
at sun.misc.Service.fail(Unknown Source)
at sun.misc.Service.fail(Unknown Source) at javax.imageio.spi.IIORegistry. The stacktrace is longer than that but the rest of it is not relevent. Suprisingly there was nothing on this error in google. The closest match was this link http://forum.java.sun.com/thread.jsp?thread=448584&forum=31&message=2149852 which discussed a similar problem with javax.print.PrintServiceLookup. This link did point me in the right direction, the issue here is that the server is not returining 404 http status code (as it should) for a file that is missing. Interestingly the ImageIO developer guide says that the plugin will look for a META-INF/services/javax.imageio.spi.ImageWriterSpi file in the applet jar file but does not mention what it does when the file is missing, which apparently is to look for that file on the webserver. Obviously when the server does not return a 404 error, the plugin thinks it should attempt provider classes and ties itselfs up in So what's the solution?
|
|



