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.

Re: [thredds] Compilation error with Grib2ReportPanel.java

  • To: "H. Joe Lee" <hyoklee@xxxxxxxxxxxx>
  • Subject: Re: [thredds] Compilation error with Grib2ReportPanel.java
  • From: Christian Ward-Garrison <cwardgar@xxxxxxxx>
  • Date: Tue, 5 May 2015 20:08:14 -0600
Hi Joe,

So the culprit here is org.itadaki:bzip2 [1]. It appears that on April
21st, they published a new artifact that renamed some of their classes.
org.itadaki.bzip2.BitOutputStream became
org.itadaki.bzip2.BZip2BitOutputStream, for example.

The problem? *They didn't increment the version number!* So, in effect,
they replaced the old bzip2-0.9.1.jar with an incompatible new
bzip2-0.9.1.jar. As a result, projects that depend on it may or may not
compile depending on whether the old jar is cached in the local Maven repo.
Ugh, terrible.

Anyway, thredds 4.6.1 - which we hope to release this week - has been fixed
to compile against the new jar. Thanks for the report.

Cheers,
Christian

[1] http://mvnrepository.com/artifact/org.itadaki/bzip2/0.9.1

On Thu, Apr 23, 2015 at 2:32 PM, H. Joe Lee <hyoklee@xxxxxxxxxxxx> wrote:

> Hi,
>
>   I'm trying to build thredds-4.6.0 [1] and getting the following error:
>
>
> /Users/hyoklee/src/thredds-4.6.0/ui/src/main/java/ucar/nc2/ui/grib/Grib2ReportPanel.java
> Error:(4, 25) java: cannot find symbol
>   symbol:   class BitOutputStream
>   location: package org.itadaki.bzip2
> Warning:(24, 21) java: ucar.nc2.grib.GribVariableRenamer in
> ucar.nc2.grib has been deprecated
> Error:(233, 5) java: cannot find symbol
>   symbol:   class BitOutputStream
>   location: class ucar.nc2.ui.grib.Grib2ReportPanel
> Error:(233, 34) java: cannot find symbol
>   symbol:   class BitOutputStream
>   location: class ucar.nc2.ui.grib.Grib2ReportPanel
>
>   I'm using IntelliJIDEA 14 with jdk 8 on Mavericks. I imported the
> project as gradle.
>   What could be wrong?
>
> [1] https://github.com/Unidata/thredds/releases/tag/v4.6.0
>
>
> --
> HDF Product Designer: Ideate interoperable Bigdata for Citizen Science and
> IoT.
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
>
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: