This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
oops, sorry:We have pushed logging facilities down into even the core packages. This means that you need to add an SLF4J logging implementation to your classpath. The simplest/smallest is
ftp://ftp.unidata.ucar.edu/pub/netcdf-java/slf4j-jdk14.jar which uses the default jdk1.4 logging. The other likely choice is one using Log4J: ftp://ftp.unidata.ucar.edu/pub/netcdf-java/nlog4j-1.2.21.jarwhich is widely used, especially at the enterprise level.
I apologize for not making this new dependency clear; it is now documented on the netcdf-java home page. John Jochen Deyke wrote:
John Caron wrote:Hi Jochen : Thanks for pointing out, it should be fixed now.I now get this instead: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory2.2.16 used to complain of missing libraries as well, but just worked anyways. Now, the error is all I get.
=============================================================================== To unsubscribe netcdf-java, visit: http://www.unidata.ucar.edu/mailing-list-delete-form.html ===============================================================================