As I understand, the 4.1 version of the NetCDF API does not include a
number of unidata-common classes.
If you add the unidata-common jar to your classpath your problem should
be solved. I will send you (Orion Poplawski) and email with the
4.1.20100227.0121 version of the unidata-common jar attached; you should
also be able to download it, but I'm unclear as to from where.
Tom Margolis
> Send netcdf-java mailing list submissions to
> netcdf-java@xxxxxxxxxxxxxxxx
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://mailman.unidata.ucar.edu/mailman/listinfo/netcdf-java
> or, via email, send a message with subject or body 'help' to
> netcdf-java-request@xxxxxxxxxxxxxxxx
>
> You can reach the person managing the list at
> netcdf-java-owner@xxxxxxxxxxxxxxxx
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of netcdf-java digest..."
>
>
> Today's Topics:
>
> 1. Trouble compiling from source (Orion Poplawski)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 26 Apr 2010 10:27:25 -0600
> From: Orion Poplawski <orion@xxxxxxxxxxxxx>
> To: netcdf-java@xxxxxxxxxxxxxxxx
> Subject: [netcdf-java] Trouble compiling from source
> Message-ID: <4BD5BEED.2000702@xxxxxxxxxxxxx>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> I'm trying to compile netcdf-java 4.1 from source and getting:
>
> compile:
> [mkdir] Created dir:
> /export/home/orion/redhat/netcdf-java-4.1/netcdf-java-4.1/cdm/target/classes
> [javac] Compiling 993 source files to
> /export/home/orion/redhat/netcdf-java-4.1/netcdf-java-4.1/cdm/target/classes
> [javac]
> /export/home/orion/redhat/netcdf-java-4.1/netcdf-java-4.1/cdm/src/main/java/thredds/catalog/ThreddsMetadata.java:42:
>
> cannot find symbol
> [javac] symbol : class LatLonRect
> [javac] location: package ucar.unidata.geoloc
> [javac] import ucar.unidata.geoloc.LatLonRect;
> [javac] ^
> [javac]
> /export/home/orion/redhat/netcdf-java-4.1/netcdf-java-4.1/cdm/src/main/java/thredds/catalog/ThreddsMetadata.java:43:
>
> cannot find symbol
>
> It seems like a lot of files in cdm/src/main/java/ucar/unidata/geoloc
> are missing compared to 4.0:
>
> diff -r netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc
> netcdf-java-4.1/cdm/src/main/java/ucar/unidata/geoloc
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc: Bearing.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> EarthEllipsoid.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc: Earth.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> EarthLocationImpl.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> EarthLocation.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> LatLonPointImpl.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> LatLonPoint.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> LatLonRect.java
> Only in netcdf-java-4.1/cdm/src/main/java/ucar/unidata/geoloc/ogc:
> WKTParser.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc: package.html
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc: projection
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> ProjectionImpl.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> Projection.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> ProjectionPointImpl.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> ProjectionPoint.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> ProjectionRect.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc:
> StationImpl.java
> Only in netcdf-java-4.0/cdm/src/main/java/ucar/unidata/geoloc: Station.java
>
>