Raif S. Naffah a écrit : > i'm using GeoTools (2.2.0) with GeoServer 1.4.0M1. the jdk is 1.5.0_08 > (on GNU Linux (FC5)) with JAI and JAI-IO installed into that JDK. from > time to time i get the following exception: > > java.util.MissingResourceException: org/geotools/resources/i18n/Errors.utf
If the "org/geotools/resources/i18n/Errors.utf" resource is presents in the classpath, then I assume that it is a class loader issue. I just commited a change on trunk as of revision 21566 in an attempt to fix that. Basically I replaced usage of ClassLoader.getResource(...) by Class.getResource(...). I verified that it work as usual with standard J2SE, but I can't test if it improve anything in the context of J2EE... If you have any chance to recompile Geotools 2.2, you can try to replace ResourceBundle by the class provided there: http://svn.geotools.org/geotools/trunk/gt/module/referencing/src/org/geotools/resources/ResourceBundle.java Alternatively, you can checkout the 2.2 branch using SVN. I just commited the fix on that branch as well. I don't know when will be the next 2.2 release however, I don't know neither if the fix attempt will really solve the problem... Regards, Martin ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
