Oralce symbol appears in the reference java code: variable Base64

I call a Java source in Oracle, compile the following problems


-------- -----------------------------------------------------------------
0/0 JAVA_COMPRESS_TEST:7: cannot find symbol
0/0 symbol : variable Base64
0/0 1 error
0/0 byte[] gzipBuff = Base64.decodeBase64(compressedText.getBytes());
0/0 ^
0/0 location: class JAVA_COMPRESS_TEST

But this code is run successfully in eclipse, ask you greatly help to look under the

This is the Java code:

create or replace and compile java source named "JAVA_COMPRESS_TEST" AS
import java.io.*;
import java.util.zip.GZIPInputStream;
import org.apache.commons.codec.binary.Base64;

public class JAVA_COMPRESS_TEST {
	public static String C_TEST(String compressedText)throws IOException{
            byte[] gzipBuff = Base64.decodeBase64(compressedText.getBytes());
            ByteArrayInputStream memstream = new ByteArrayInputStream(gzipBuff);
            GZIPInputStream gzin = new GZIPInputStream(memstream);
            final int buffsize = 4096;
            int count_n;
            byte[] tempBuffer = new byte[buffsize];
            ByteArrayOutputStream Ops = new ByteArrayOutputStream();
            while ((count_n = gzin.read(tempBuffer,0,buffsize)) != -1)
            byte[] buf = Ops.toByteArray();
            return new String(buf,"UTF-8");

Thank you

Started by Jessie at November 14, 2016 - 1:28 PM

The thick line.... The thick line. .

Posted by Jessie at November 26, 2016 - 2:08 PM

OK. Found no javaload load in the org.apache.commons.codec.binary.Base64 this thing
By the way load way
In the following DOS knock
javaload -r -f -verbose -resolve -user userid/pwd[@orclsid] file.jar

So why nobody answer me

Posted by Jessie at December 02, 2016 - 3:01 PM