You can not import internal package from outside of h2spatial bundle. This raise OSGi exception. You have to transfert this method to spatial-utilities if there is not dependency with h2.