On 18/02/14 17:01, Oehler, Philipp wrote: > I built the uber-jar (lol..)
I guessed that a German speaker would appreciate this jargon. :-) One million hits in Google. > I chose the options "Runnable Jar File" and "Extract required libraries into > generated JAR". > These options work perfectly well for some projects the JAR is used in, but > not in every. > The FileDataStoreFactorySpi is definitely there in the required folder, but > it only contains the line > "org.geotools.data.shapefile.ShapefileDataStoreFactory", is that correct? Yes, that sounds correct. The file must be called "/META-INF/services/org.geotools.data.FileDataStoreFactorySpi" in the jar and contain that line. Not sure what could be wrong. Check your MANIFEST.MF and its classpath. How are you starting the application? Kind regards, -- Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users