[netcdf-java] ucar.nc2.NetcdfFile class not found

Hi there,

I am using ENVISAT's BEAM-4 program which use netcdf.jar.
When I ran a program, I got the following errors, even though my classpath
includes
netcdf.jar file there.

Could someone give me some suggestions?

regards

Henry



java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.bc.ceres.launcher.Launcher.launch(Launcher.java:153)
        at com.bc.ceres.launcher.Launcher.main(Launcher.java:56)
Caused by: java.lang.NoClassDefFoundError: ucar/nc2/NetcdfFile
        at
org.esa.beam.dataio.netcdf.NetCdfReaderPlugIn.getDecodeQualification(NetCdfReaderPlugIn.java:61)
        at
org.esa.beam.framework.dataio.ProductIO.getProductReaderForFile(ProductIO.java:369)
        at
org.esa.beam.framework.dataio.ProductIO.readProductImpl(ProductIO.java:314)
        at
org.esa.beam.framework.dataio.ProductIO.readProduct(ProductIO.java:212)
        at org.esa.beam.pconvert.PConvertMain.run(PConvertMain.java:475)
        at org.esa.beam.pconvert.PConvertMain.main(PConvertMain.java:197)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: ucar.nc2.NetcdfFile
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 12 more

-- 
View this message in context: 
http://netcdf-java.1577316.n2.nabble.com/ucar-nc2-NetcdfFile-class-not-found-tp5824330p5824330.html
Sent from the NetCDF-Java mailing list archive at Nabble.com.



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