NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
I think netcdf-java recently bumped up the Spring framework version requirement. I don't recall the details, but I think the minimum java version also got bumped. On Tue, May 20, 2025 at 7:34 PM Wohler, Bill (ARC-TN)[SETI INSTITUTE] < bill.wohler@xxxxxxxx> wrote: > [I had sent this message to the support mailing list, but got an automatic > reply that operations are paused until funding resumes and that I should > send my question here. I understand that you won't be able to fix the > problem, but perhaps you can suggest some workarounds until the problem can > be fixed. My current thinking is that it should be possible to copy the > library to a local Maven repository and point my build at that. What do you > think?] > > We just started getting the following error out of the blue when compiling > our Java code with Gradle that makes use of the netcdf libraries. > > > Could not resolve edu.ucar:netcdf4:4.6.+. > Required by: > project :code:spoc-protobuf > > Failed to list versions for edu.ucar:netcdf4. > > Unable to load Maven meta-data from > https://artifacts.unidata.ucar.edu/repository/unidata-all/edu/ucar/netcdf4/maven-metadata.xml > . > > Could not HEAD ' > https://artifacts.unidata.ucar.edu/repository/unidata-all/edu/ucar/netcdf4/maven-metadata.xml'. > Received status code 403 from server: Forbidden > > What's weird is that I can access maven-metadata.xml just fine with my > browser or with curl. Have you seen this problem? Do you have any idea what > might be the source of the problem? > > We've been using the netcdf library in our build.gradle files for a long > time like this: > > repositories { > mavenCentral() > maven { > url = " > https://artifacts.unidata.ucar.edu/repository/unidata-all/" > } > } > ... > dependencies { > ... > implementation 'edu.ucar:netcdf4:4.6.+' > ... > } > > Interestingly, this error went away when I used "implementation > 'edu.ucar:netcdf4:+'", which will match the highest available version. I > was surprised to see that it downloaded version 4.5.5, not a more recent > version! That might indicate a problem with the last update of your > metadata. (Version 4.6, which we're still using, seems to add Closeable to > NetcdfFileWriter, which we are taking advantage of with try-with-resources, > so our code is broken with the older version.) > > Thanks, I look forward to hearing from you. > > -- > > > Bill Wohler <Bill.Wohler@xxxxxxxx> aka <wohler@xxxxxxxx> > Cell: 650-380-1804 > > -- > > Bill Wohler <Bill.Wohler@xxxxxxxx> aka <wohler@xxxxxxxx> > Cell: 650-380-1804 > _______________________________________________ > > NOTICE: Due to the current gap in continued funding from the U.S. > National Science Foundation (NSF), > the NSF Unidata Program Center has temporarily paused most operations. > Please see this link for details: > https://www.unidata.ucar.edu/blogs/news/entry/nsf-unidata-pause-in-most > > netcdfgroup mailing list > netcdfgroup@xxxxxxxxxxxxxxxx > To subscribe: netcdfgroup-join@xxxxxxxxxxxxxxxx > To unsubscribe: netcdfgroup-leave@xxxxxxxxxxxxxxxx >
netcdfgroup
archives: