On 20-04-2020 13:04, Kaan . wrote:
    I have changed my Java JDK version to JDK 8 but now getting this error:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  7.834 s
[INFO] Finished at: 2020-04-20T14:01:03+03:00
[INFO] ------------------------------------------------------------------------ *[ERROR] Failed to execute goal on project geoserver: Could not resolve dependencies for project org.geoserver:geoserver:* *pom:2.16.2: Failed to collect dependencies at org.geotools:gt-main:jar:22.2: Failed to read artifact descriptor for org.* *geotools:gt-main:jar:22.2: Could not transfer artifact org.geotools:gt-main:pom:22.2 from/to boundless (https://repo.bou* *ndlessgeo.com/main/ <http://ndlessgeo.com/main/>): Transfer failed for https://repo.boundlessgeo.com/main/org/geotools/gt-main/22.2/gt-main-22.2.pom:* * Unknown host repo.boundlessgeo.com <http://repo.boundlessgeo.com> ->

This repository was recently replaced with https://repo.osgeo.org/ , unforunately it is impossible to change released artifacts and even if it could it shouldn' t be done.

So you would need to either:

- use branch 2.16.x instead of the tagged version
- use branch release 2.17.0 instead of the tagged version
- wait for a while for 2.16.3 to be released (in the next few weeks I suspect) and use that
- change the parent pom.xml file in your code to include the above repo.
The relavant changes are in this PR: https://github.com/geoserver/geoserver/pull/4177

any of these should fix dependency resolution.

Mark



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to