Re: [Geotools-gt2-users] Geotools Error on SBT Assembly

2018-04-15 Thread Ben Caradoc-Davies
Ken, does your fat jar include all the module META-INF/services SPI files from the module jars? (And concatenate those with the same name?) GeoTools loads many SPI providers, including those for functions and data stores. If some of these entries are omitted from the fat jar, those SPI provid

Re: [Geotools-gt2-users] Geotools Error on SBT Assembly

2018-04-15 Thread Andrea Aime
Yep, as Ben said. See also this FAQ entry, does not talk about SBT, but what the Maven shade plugin does in this description, you'll have to replicate with SBT: http://docs.geotools.org/latest/userguide/build/faq.html#how-do-i-create-an-executable-jar-for-my-geotools-app Cheers Andrea On Sun, Ap

Re: [Geotools-gt2-users] Geotools Error on SBT Assembly

2018-04-15 Thread Ken
Thank you for the succint replies! SBT assembly does exclude files inside the META-INF directory (https://github.com/sbt/sbt-assembly/issues/11). I know what to do now, thanks again! Ken Abryl Eleazar Salanio kssala...@gmail.com On Sun, Apr 15, 2018 at 9:37 PM, Andrea Aime wrote: > Yep, > as Be