Opened 13 years ago
Last modified 13 years ago
#8246 closed defect
ImportImagePlugin does install geotools but not its dependency plugin jts — at Initial Version
| Reported by: | skyper | Owned by: | team |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Plugin | Version: | |
| Keywords: | geotools jts depend | Cc: |
Description
- start JOSM with empty preference directory
- download plugin list in plugin preferences.
- select "utilsplugin2" and "ImportImagePlugin"
- four plugins (utilsplugin2,ImportImagePlugin,log4j,geotools) are downloaded.
- restart JOSM
- jts is missing for geotools
lade Plugin 'log4j' (Version 28968) lade Plugin 'ImportImagePlugin' (Version 28969) Logging properties file not found. Using standard settings. org.openstreetmap.josm.plugins.PluginException: Ein Fehler ist in dem Plugin ImportImagePlugin aufgetreten. at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:308) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugin(PluginHandler.java:508) at org.openstreetmap.josm.plugins.PluginHandler.loadPlugins(PluginHandler.java:566) at org.openstreetmap.josm.plugins.PluginHandler.loadLatePlugins(PluginHandler.java:605) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:348) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:532) at org.openstreetmap.josm.plugins.PluginInformation.load(PluginInformation.java:299) ... 4 more Caused by: java.lang.NoClassDefFoundError: org/opengis/referencing/FactoryException at org.openstreetmap.josm.plugins.ImportImagePlugin.ImportImagePlugin.<init>(ImportImagePlugin.java:90) ... 9 more Caused by: java.lang.ClassNotFoundException: org.opengis.referencing.FactoryException at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 10 more
- Installing plugin jts solves the problem.
- Installing plugin geotools only properly pulls jts.
- I also noticed that downloading the plugin geotools takes quite long.
Note:
See TracTickets
for help on using tickets.


