db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimple Bhatia" <dim...@gmail.com>
Subject Errors hen building derby using eclipse
Date Wed, 18 Apr 2007 22:43:09 GMT
Hi,
I am tryin to build the derby source using eclipse. I am using this link i
found on the derby wiki
-
http://wiki.apache.org/db-derby/BuildingDerby#head-0c0abaf557bc2cfe0efdbdd9a6098de1db0f6bb2
I have followed the instructions in building.txt but when I build i see a
lot of errors such as below: I tried to add the jce1_2_2.ajr, junit.jar and
jdbc2_0-stdext.jar as extnal jars to the project libraries under java build
path but still the same problem. I am using the Ant builder asper the
istrauctions on the above website.
I woudl appreciate your hints.


[javac] Compiling 3 source files to C:\Documents and
Settings\dimple\workspace\DerbySource\classes

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:55:
package javax.crypto does not exist

[javac] import javax.crypto.KeyGenerator;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:56:
package javax.crypto does not exist

[javac] import javax.crypto.SecretKey;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:57:
package javax.crypto does not exist

[javac] import javax.crypto.SecretKeyFactory;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:58:
package javax.crypto.spec does not exist

[javac] import javax.crypto.spec.DESKeySpec;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:59:
package javax.crypto.spec does not exist

[javac] import javax.crypto.spec.SecretKeySpec;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:101:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] private SecretKey mainSecretKey;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:303:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] private SecretKey generateKey(byte[] secretKey) throws
StandardException

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:394:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] private CipherProvider createNewCipher(int mode, SecretKey
secretKey,

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:37:
package javax.crypto does not exist

[javac] import javax.crypto.Cipher;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:38:
package javax.crypto.spec does not exist

[javac] import javax.crypto.spec.IvParameterSpec;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:39:
package javax.crypto does not exist

[javac] import javax.crypto.SecretKeyFactory;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:40:
package javax.crypto.spec does not exist

[javac] import javax.crypto.spec.SecretKeySpec;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:41:
package javax.crypto does not exist

[javac] import javax.crypto.SecretKey;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:51:
cannot resolve symbol

[javac] symbol : class Cipher

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] private Cipher cipher;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:54:
cannot resolve symbol

[javac] symbol : class IvParameterSpec

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] private final IvParameterSpec ivspec;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:59:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] private SecretKey cryptixKey;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:61:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] JCECipherProvider(int mode, SecretKey secretKey, byte[] iv, String
algorithm, String provider)

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:153:
cannot resolve symbol

[javac] symbol : class KeyGenerator

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] KeyGenerator keyGen;

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:156:
cannot resolve symbol

[javac] symbol : variable KeyGenerator

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] keyGen = KeyGenerator.getInstance(cryptoAlgorithmShort);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:162:
cannot resolve symbol

[javac] symbol : variable KeyGenerator

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] keyGen = KeyGenerator.getInstance(cryptoAlgorithmShort, provider);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:167:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] SecretKey key = keyGen.generateKey();

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:203:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] SecretKey key = generateKey(muck);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:270:
cannot resolve symbol

[javac] symbol : class SecretKey

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] SecretKey key = generateKey(muck);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:314:
cannot resolve symbol

[javac] symbol : variable DESKeySpec

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] if (DESKeySpec.isWeak(secretKey, 0))

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherFactory.java:322:
cannot resolve symbol

[javac] symbol : class SecretKeySpec

[javac] location: class org.apache.derby.impl.services.jce.JCECipherFactory

[javac] return new SecretKeySpec(secretKey, cryptoAlgorithmShort);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:65:
cannot resolve symbol

[javac] symbol : class IvParameterSpec

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] ivspec = new IvParameterSpec(iv);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:72:
cannot resolve symbol

[javac] symbol : variable Cipher

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] cipher = Cipher.getInstance(algorithm);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:101:
cannot resolve symbol

[javac] symbol : variable Cipher

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] cipher = Cipher.getInstance(algorithm,provider);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:115:
cannot resolve symbol

[javac] symbol : variable Cipher

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] cipher.init(Cipher.ENCRYPT_MODE, secretKey);

[javac] ^

[javac] C:\Documents and
Settings\dimple\workspace\DerbySource\java\engine\org\apache\derby\impl\services\jce\JCECipherProvider.java:117:
cannot resolve symbol

[javac] symbol : variable Cipher

[javac] location: class org.apache.derby.impl.services.jce.JCECipherProvider

[javac] cipher.init(Cipher.ENCRYPT_MODE, secretKey,ivspec);

Mime
View raw message