開團北海道千層蛋糕
2007-05-08 15:55:28 UTC
依照書本撰寫的而有4個bug改不出來 我是用j2sdk1.4.1版本
請問還需要什麼其他的java應用程式嗎
程式碼:http://0rz.pixnet.tw/442DU
出現的錯誤bug訊息:
SecretWriting.java:21: cannot resolve symbol
symbol : class KEY
location: class SecretWriting
Key=(KEY)in.readObject();
^
SecretWriting.java:34: cannot resolve symbol
symbol : class cipher
location: class SecretWriting
cipher cipher =cipher.getInstance("DES/ECB/PKCS5Padding");
^
SecretWriting.java:43: cannot resolve symbol
symbol : class Base64Encoder
location: class SecretWriting
Base64Encoder encoder= new BASE64Encoder();
^
SecretWriting.java:50: cannot resolve symbol
symbol : class Base64Decoder
location: class SecretWriting
Base64Decoder decoder= new BASE64Decoder();
^
4 errors
請問拜託大家了 感激不盡謝謝你們的回覆 感謝^^
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.160.9.252
請問還需要什麼其他的java應用程式嗎
程式碼:http://0rz.pixnet.tw/442DU
出現的錯誤bug訊息:
SecretWriting.java:21: cannot resolve symbol
symbol : class KEY
location: class SecretWriting
Key=(KEY)in.readObject();
^
SecretWriting.java:34: cannot resolve symbol
symbol : class cipher
location: class SecretWriting
cipher cipher =cipher.getInstance("DES/ECB/PKCS5Padding");
^
SecretWriting.java:43: cannot resolve symbol
symbol : class Base64Encoder
location: class SecretWriting
Base64Encoder encoder= new BASE64Encoder();
^
SecretWriting.java:50: cannot resolve symbol
symbol : class Base64Decoder
location: class SecretWriting
Base64Decoder decoder= new BASE64Decoder();
^
4 errors
請問拜託大家了 感激不盡謝謝你們的回覆 感謝^^
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.160.9.252