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

Newsgroups comp.lang.java.programmer
Date 2012-08-29 12:48 -0700
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>
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

Show all headers | 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