Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #18411

Re: (Encryption Package) error: cannot find symbol symbol: class BaseNCode

Received by 10.224.189.75 with SMTP id dd11mr1948622qab.6.1346269692272; Wed, 29 Aug 2012 12:48:12 -0700 (PDT)
Received by 10.52.90.69 with SMTP id bu5mr521144vdb.6.1346269692247; Wed, 29 Aug 2012 12:48:12 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!r1no26161931qas.0!news-out.google.com!da15ni59655611qab.0!nntp.google.com!r1no3494857qas.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.programmer
Date Wed, 29 Aug 2012 12:48:12 -0700 (PDT)
In-Reply-To <2bd66b01-727f-4312-b773-e7c04ac25c30@googlegroups.com>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=198.151.13.60; posting-account=r24XpwkAAABfAJg5TJRsTScS4AL5MjOT
NNTP-Posting-Host 198.151.13.60
References <c60c6542-537f-4fcf-8aa0-06c0f977ca59@googlegroups.com> <fd28dd62-1006-49fe-a020-2572b8235fd7@googlegroups.com> <19293822-5218-40d5-b5c7-205eeedb73c9@googlegroups.com> <2bd66b01-727f-4312-b773-e7c04ac25c30@googlegroups.com>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <ae86b13f-d92d-4b0b-b2f9-b011a1fbb8da@googlegroups.com> (permalink)
Subject Re: (Encryption Package) error: cannot find symbol symbol: class BaseNCode
From clusardi2k@aol.com
Injection-Date Wed, 29 Aug 2012 19:48:12 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.java.programmer:18411

Show key headers only | View raw


> On Wednesday, August 29, 2012 2:31:26 PM UTC-4, Lew wrote:
> (unknown) wrote: > Lew wrote: >> Instead, either download or build the JAR, 
> ensuring thus that it contains *all* >> the project (Commons Codec in this 
> case). Since Apache Commons is, well, >> common, unless you're contributing 
> to the project download the JAR rather than > build it. > > Where can I get 
> either the pre-built jar or *all* of the project! http://lmgtfy.com/?
q=Apache+Commons+Codec+downloads -- Lew

When I add the java package and your dot jar (from http://commons.apache.org/codec/download_codec.cgi) to a project (as a library) and try to build it, I get error messages such as the below hard (if not impossible) to remove error messages. The error messages are from the new package.

Compiling 46 source files to C:\...\build\classes
C:\...\src\org\apache\commons\codec\binary\Base64.java:324: error: cannot find symbol
        if (context.eof) {
  symbol:   variable eof
  location: variable context of type Context
C:\...\src\org\apache\commons\codec\binary\Base64.java:330: error: cannot find symbol
            context.eof = true;
  symbol:   variable eof
  location: variable context of type Context
C:\...\src\org\apache\commons\codec\binary\Base64.java:331: error: cannot find symbol
            if (0 == context.modulus && lineLength == 0) {
  symbol:   variable modulus
  location: variable context of type Context
C:\...\src\org\apache\commons\codec\binary\Base64.java:334: error: method ensureBufferSize in class BaseNCodec cannot be applied to given types;
            ensureBufferSize(encodeSize, context);
  required: int
  found: int,Context
  reason: actual and formal argument lists differ in length
C:\...\src\org\apache\commons\codec\binary\Base64.java:335: error: cannot find symbol
            int savedPos = context.pos;
  symbol:   variable pos
  location: variable context of type Context
C:\...\src\org\apache\commons\codec\binary\Base64.java:336: error: cannot find symbol
            switch (context.modulus) { // 0-2
  symbol:   variable modulus
  location: variable context of type Context
C:\...\src\org\apache\commons\codec\binary\Base64.java:338: error: cannot find symbol
                    context.buffer[context.pos++] = encodeTable[(context.ibitWorkArea >> 2) & MASK_6BITS]; // top 6 bits
  symbol:   variable buffer
  location: variable context of type Context

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: (Encryption Package) error: cannot find symbol   symbol: class BaseNCode Lew <lewbloch@gmail.com> - 2012-08-29 11:10 -0700
  Re: (Encryption Package) error: cannot find symbol   symbol: class BaseNCode clusardi2k@aol.com - 2012-08-29 11:21 -0700
    Re: (Encryption Package) error: cannot find symbol   symbol: class BaseNCode Lew <lewbloch@gmail.com> - 2012-08-29 11:31 -0700
      Re: (Encryption Package) error: cannot find symbol   symbol: class BaseNCode clusardi2k@aol.com - 2012-08-29 12:48 -0700
        Re: (Encryption Package) error: cannot find symbol   symbol: class BaseNCode Lew <lewbloch@gmail.com> - 2012-08-29 13:33 -0700

csiph-web