Skip to main content
5 votes
Accepted

Cannot compile code against latest stable GeoTools/GeoServer version

The org.opengis packages are gone in GeoTools 30.x, see the upgrade guide for that series: https://docs.geotools.org/stable/userguide/welcome/upgrade.html Along with the GeoTools 30.0 release ...
Andrea Aime's user avatar
  • 17.7k
4 votes

GeoTools compilation error

If you just want to build geotools jars you can do so by skipping tests: mvn clean install -Dall -DskipTests About doing a full build with tests, it has not worked for a long time. Patches to fix ...
Andrea Aime's user avatar
  • 17.7k
4 votes

What is the correct URL to resolve GeoTools dependencis via Gradle

We had to add the following to our build.gradle file: maven { url "https://repo.osgeo.org/repository/release" }
Randy's user avatar
  • 41
4 votes

What is the correct URL to resolve GeoTools dependencis via Gradle

The repository had to be moved into new environment. The original plan of the GeoTools/GeoServer projects was to use redirections and make the move transparent for the users. Unfortunately maven ...
user30184's user avatar
  • 69k
4 votes
Accepted

Which is the right version maven repository for geotools postgis?

The OSGeo repository is the correct one for stable builds (I'm not sure where mvnrepository.com gets its information from) - see http://download.osgeo.org/webdav/geotools/org/geotools/jdbc/gt-jdbc-...
Ian Turton's user avatar
  • 83.2k
4 votes
Accepted

Installing GeoServer extensions via pom file?

The querylayer jar is self contained, the css one has a number of other jars it depends onto (parboiled, asm, and so on), that is probably the reason why one works and the other does not.
Andrea Aime's user avatar
  • 17.7k
2 votes
Accepted

Geotools with maven: java.lang.noclassdeffounderror while starting app's jar

To make a java program run you need to include all of its dependencies on the classpath so that the JVM can find them or include them in the jar itself so that it is truly portable. In the first ...
Ian Turton's user avatar
  • 83.2k
2 votes

GeoTools Provider org.geotools.referencing.operation.projection.AzimuthalEquidistant$Provider could not be instantiated"

I'm not sure what's happening here, I created the following: import org.geotools.referencing.ReferencingFactoryFinder; import org.opengis.referencing.FactoryException; import org.opengis.referencing....
Ian Turton's user avatar
  • 83.2k
2 votes

Which is the right version maven repository for geotools postgis?

I struggled a bit on the same issue since some, even recent, documentation is still reporting dead repository. Below is the repository node I am using in my pom.xml file (of course I am talking about ...
mcfoi's user avatar
  • 184
1 vote

Is there something special with maven get: gt-map 26.5

That would be because there is no gt-map module in the GeoTools code base. Did you perhaps mean gt-main ? Update To find a specific class in GeoTools the easiest way is to search the code base: ...
Ian Turton's user avatar
  • 83.2k
1 vote

Dependency issues when executing gt-imagemosaic-jdbc-23.5.jar to import tiles into postgres db

The image mosaic JDBC module was demoted to unsupported in April 2020 after years of neglect. The fact that the page you are following is for version 1.7 of GeoServer says a lot as we are currently ...
Ian Turton's user avatar
  • 83.2k

Only top scored, non community-wiki answers of a minimum length are eligible