I have applied these changes to:
master:
https://github.com/geoserver/geoserver/commit/9aeba04f7244ae10017620fbf555ac05eabf4c77
2.8.x:
https://github.com/geoserver/geoserver/commit/7f8e5b5b1b73ee8b548a508e9a796907d27450e0
2.7.x:
https://github.com/geoserver/geoserver/commit/86e51edf05245968b07ba
GeoServer community/script has some serious dependency problems that
cause the inclusion of multiple GeoTools versions. I want to fix this so
that the correct GeoTools spatialite jar can be included in the
spatialite plugin (see discussion on the user list).
- I propose to upgrade community/scr