<dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-spatial</artifactId> <version>5.2.17.Final</version><!-- In my case was this version, needs to match with your hibernate core version--> </dependency>
GeometryFactory gf = new GeometryFactory(); Point point = gf.createPoint(new Coordinate(lat, lon));