title: Error loading polygon geometries using shape file data store with geotools 24.0
body: <p>I have recently upgraded my geotools dependencies from 23.2 to 24.0
  i have the following error when i try to load a <code>FeatureCollection</code> from a shape file data store with a polygon geometry,seems this problem was introduced in 24.0 geotools release ,anyone now how to solve this problem please</p>
  <pre><code>java.lang.NoSuchMethodError: org.locationtech.jts.geom.Polygon.getExteriorRing()Lorg/locationtech/jts/geom/LineString;
  </code></pre>