Re: clas-file mismatch error

Jan Luehe (luehe@laguna.eng.sun.com)
Mon, 28 Sep 1998 12:40:33 -0700 (PDT)

Rob:

This is a known problem and has been fixed.
We will be releasing a beta2 version of JCE 1.2 with the fix
later today.

Thanks,

Jan

> When I attempt to use the jce12-beta1-dom release, I get the following
> error.
>
> What gives?
>
> Rob
>
> /usr/local/java/jdk1.2beta4/bin/javac sample.java
> error: Invalid class file format:
> /usr/local/java/jce12-beta1-dom/lib/javax/crypto/KeyGenerator.class,
> wrong version: 46, expected 45
> sample.java:2: Class javax.crypto.KeyGenerator not found in import.
> import javax.crypto.KeyGenerator;
> ^
> 2 errors