Re: [thredds] Problem building thredds from source

  • To: Brad Hards <bradh@xxxxxxxxxxxxx>
  • Subject: Re: [thredds] Problem building thredds from source
  • From: Ryan May <rmay@xxxxxxxx>
  • Date: Thu, 2 Oct 2014 12:30:11 -0600
Brad,

Sorry to hear that you're having problems. Based on the error, it looks
like on your workstation somehow it's pulling in a version of the jj2000
package from the Sun ImageIO package. Not sure yet how to lock it down to
our version of jj2000....

Ryan

On Tue, Sep 30, 2014 at 6:59 PM, Brad Hards <bradh@xxxxxxxxxxxxx> wrote:

> I'm trying to build thredds from github, and it is failing on one machine.
> The first error I see is:
> [ERROR]
>
> /home/bradh/thredds/thredds/grib/src/main/java/ucar/nc2/grib/grib2/Grib2JpegDecoder.java:
> [193,12] constructor FileFormatReader in class
> jj2000.j2k.fileformat.reader.FileFormatReader cannot be applied to given
> types;
>   required:
>
> jj2000.j2k.io.RandomAccessIO,com.sun.media.imageioimpl.plugins.jpeg2000.J2KMetadata
>   found: jj2000.j2k.io.RandomAccessIO
>   reason: actual and formal argument lists differ in length
>
> The full log is attached.
>
> I'm having trouble understanding the problem. It looks like I have some
> jj2000
> API incompatibility, but I can't see how.
>
> The build works OK on my laptop, but not on the workstation. The only
> difference I can see is that I've built the JJ2000 repo on my laptop, but
> wiping out the .m2 repo cached entries didn't seem to break it on my
> laptop.
>
> Getting stuff on and off the workstation is difficult (pretty much only
> https),
> and it would be a lot more convenient to build and tweak there. So I'd
> like to
> fix this if I can. Any suggestions?
>
> Brad
>
> _______________________________________________
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/
>



-- 
Ryan May
Software Engineer
UCAR/Unidata
Boulder, CO
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: