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: <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: 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 > On Wednesday, August 29, 2012 2:31:26 PM UTC-4, Lew wrote: > (unknown) wrote: > Lew wrote: >> Instead, either download or build the JA= R,=20 > ensuring thus that it contains *all* >> the project (Commons Codec in thi= s=20 > case). Since Apache Commons is, well, >> common, unless you're contributi= ng=20 > to the project download the JAR rather than > build it. > > Where can I g= et=20 > either the pre-built jar or *all* of the project! http://lmgtfy.com/? q=3DApache+Commons+Codec+downloads -- Lew When I add the java package and your dot jar (from http://commons.apache.or= g/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 f= ind 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 f= ind symbol context.eof =3D true; symbol: variable eof location: variable context of type Context C:\...\src\org\apache\commons\codec\binary\Base64.java:331: error: cannot f= ind symbol if (0 =3D=3D context.modulus && lineLength =3D=3D 0) { symbol: variable modulus location: variable context of type Context C:\...\src\org\apache\commons\codec\binary\Base64.java:334: error: method e= nsureBufferSize 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 f= ind symbol int savedPos =3D context.pos; symbol: variable pos location: variable context of type Context C:\...\src\org\apache\commons\codec\binary\Base64.java:336: error: cannot f= ind 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 f= ind symbol context.buffer[context.pos++] =3D encodeTable[(context.= ibitWorkArea >> 2) & MASK_6BITS]; // top 6 bits symbol: variable buffer location: variable context of type Context