[netcdf-java] Jar dependencies for netcdf-java 4.1

Hi John, hi list!
I'm using the unbundled version of netcdf-java 4.1 to read files in
netcdf format (ANDI-MS, ANDI-CHROM). However, I found that the jar
dependencies noted on this
page
http://www.unidata.ucar.edu/software/netcdf-java/reference/JarDependencies.html
are not really up to date.
I had to add unidatacommon.jar to my classpath to avoid the following
exception:

java.lang.NoClassDefFoundError: ucar/unidata/geoloc/ProjectionImpl
        at ucar.nc2.iosp.nids.Nidsiosp.isValidFile(Nidsiosp.java:81)
        at ucar.nc2.NetcdfFile.open(NetcdfFile.java:742)
        at ucar.nc2.NetcdfFile.open(NetcdfFile.java:403)
        at ucar.nc2.NetcdfFile.open(NetcdfFile.java:373)
        at ucar.nc2.NetcdfFile.open(NetcdfFile.java:360)
        at ucar.nc2.NetcdfFile.open(NetcdfFile.java:348)
... (my call stack skipped) ...
Caused by: java.lang.ClassNotFoundException:
ucar.unidata.geoloc.ProjectionImpl
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 15 more

As far as I understand it, ProjectionImpl should only be required by
a NetcdfDataset implementation?

Sincerely,
Nils

-- 
Nils Hoffmann                            phone:    +49-521-106-3839
Universitaet Bielefeld                    room:             U10-139
Techn. Fakultaet, AG Genominformatik
Nils.Hoffmann@xxxxxxxxxxxxxxxxxxxxxxxx
33594 Bielefeld, Germany    http://www.cebitec.uni-bielefeld.de/~hoffmann/



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: