From: Raif S. N. <ra...@fo...> - 2006-09-24 23:14:32
|
salut Martin, On Sunday 24 September 2006 05:44, Martin Desruisseaux wrote: > Raif S. Naffah a =E9crit : > > 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 t= he > 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/geot= oo >ls/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... i'm happy to test this. is there an easy(ier) way of building the=20 gt2-referencing other than: 1. checkout/update the GeoTools project from SVN; 2. cd to module/referencing; 3. do: mvn install? merci d'avance + cheers; rsn |