In the Feature Tutorial Example
GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory();
generates error:
method getGeometryFactory in class org.geotools.geometry.jts.JTSFactoryFinder cannot be applied to given types; required: org.geotools.factory.Hints found: no arguments reason: actual and formal argument lists differ in length
Is this the right way?
GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory(null);