From: Michael B. <mic...@gm...> - 2012-11-21 21:21:45
|
Hi, I'm afraid I don't have much else to suggest - sorry. The tutorial is working for me without problem but I'm building with netbeans / maven. The key part of the error trace seems to be this: > Caused by: java.util.MissingResourceException: Can't find resource for > bundle org.geotools.resources.i18n.Vocabulary, key 252 > at java.util.ResourceBundle.getObject(ResourceBundle.java:386) > at java.util.ResourceBundle.getObject(ResourceBundle.java:383) > at java.util.ResourceBundle.getString(ResourceBundle.java:346) > at > org.geotools.util.ResourceInternationalString.toString(ResourceInternationalString.java:100) > at > org.geotools.referencing.datum.AbstractDatum.name(AbstractDatum.java:183) > at Which (I think) looks like a classpath problem - please confirm that you have gt-metadata included in your project. I guess it is also possible that it is related to locale settings, because it is looking up i18n strings, but I would have expected many error reports from other people if that was the case - neither the tutorial code nor those parts of GeoTools mentioned in the error have changed for a long time. Just in case, are you using Java 7 ? I ask because I don't think the tutorials have been tested against Java 7 yet. Other than that, I can only suggest once again that you try building the application with Maven, if only for test purposes. You can use the Maven bundled into NetBeans so no external install is required, although the first build will take a long time while maven downloads most of the internet onto your system. The problem with building GeoTools apps "by hand" is that you are unlikely to find anyone on the list to help you. We all gave up long ago. Michael |