classnotfoundexception 为什么报错呀,在线求救
无i悔 2007-05-09 09:12:17 // Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
package com.chineseall.util;
import java.io.*;
import java.security.SecureRandom;
import javax.crypto.*;
import javax.crypto.spec.DESKeySpec;
//import java.lang.ClassNotFoundException;
//import com.chineseall.util.*;
// Referenced classes of package com.chineseall.util:
// DecryptStart, EbookGlobals
public class Common
{
public static final long f1 = 0xf8f3546db0L;
private final String algorithm = "DES";
public final String encoding = "ISO8859-1";
private SecretKey key;
private Cipher cipher;
private static String catalinaHome = EbookGlobals.getEbookHome();
private ClassLoader loader;
static Class class$com$chineseall$util$Common; /* synthetic field */
public Common()
{
loader = (class$com$chineseall$util$Common != null ? class$com$chineseall$util$Common : (class$com$chineseall$util$Common = class$("com.chineseall.util.Common"))).getClassLoader();
}
public Object invokeDogBiteObjectGetReadData()
throws GeneralSecurityException,IOException,Exception
{
String s = Long.toString((new File(catalinaHome + File.separator + "bin" + File.separator + "bootstrap.jar")).lastModified());
DecryptStart decryptstart = new DecryptStart(s,loader);
Class aclass[] = {
(new String[1]).getClass()
};
return decryptstart.startup(EbookGlobals.getEbookHome() + File.separator + "common" + File.separator + "classes" + File.separator + "p1" + File.separator + "DogBite", "p1.DogBite", "getReadData", null, null);
}
public void invokeDogBiteObjectBite()
throws GeneralSecurityException, IOException, Exception
{
String s = Long.toString((new File(catalinaHome + File.separator + "bin" + File.separator + "bootstrap.jar")).lastModified());
DecryptStart decryptstart = new DecryptStart(s, loader);
decryptstart.startup(catalinaHome + File.separator + "common" + File.separator + "classes" + File.separator + "p1" + File.separator + "DogBite", "p1.DogBite", "bite", null, null);
}
public Object invokeReadPDFObjectGetCurrentNo(String s)
throws GeneralSecurityException, IOException, Exception
{
if(s == null)
return invokeDogBiteObjectGetReadData();
else
return s;
}
public byte[] encrypt(byte abyte0[], String s)
throws GeneralSecurityException, UnsupportedEncodingException
{
byte abyte1[] = s.getBytes();
DESKeySpec deskeyspec = new DESKeySpec(abyte1);
SecretKeyFactory secretkeyfactory = SecretKeyFactory.getInstance("DES");
key = secretkeyfactory.generateSecret(deskeyspec);
SecureRandom securerandom = new SecureRandom();
cipher = Cipher.getInstance("DES");
cipher.init(1, key, securerandom);
byte abyte2[] = cipher.doFinal(abyte0);
return abyte2;
}
public byte[] decrypt(byte abyte0[], String s)
throws GeneralSecurityException, UnsupportedEncodingException
{
byte abyte1[] = s.getBytes();
DESKeySpec deskeyspec = new DESKeySpec(abyte1);
SecretKeyFactory secretkeyfactory = SecretKeyFactory.getInstance("DES");
key = secretkeyfactory.generateSecret(deskeyspec);
SecureRandom securerandom = new SecureRandom();
cipher = Cipher.getInstance("DES");
cipher.init(2, key, securerandom);
byte abyte2[] = cipher.doFinal(abyte0);
return abyte2;
}
static Class class$(String s)
{
return Class.forName(s);
ClassNotFoundException classnotfoundexception;
classnotfoundexception;
throw new NoClassDefFoundError(classnotfoundexception.getMessage());
}
}
报错为 "classnotfoundexception;"不是语句
本人不会JAVA,谢谢大侠们了