编译出现错误:
./meshi/util/ModelAnalyzer.java:11: package org.bouncycastle.crypto does not exist
import org.bouncycastle.crypto.RuntimeCryptoException;
                              ^
./meshi/util/ModelAnalyzer.java:66: cannot find symbol
symbol  : class RuntimeCryptoException
location: class meshi.util.ModelAnalyzer
            }catch (Exception ex ) {throw new RuntimeCryptoException(ex.getMessage());}
                                              ^
./meshi/util/ModelAnalyzer.java:71: cannot find symbol
symbol  : class RuntimeCryptoException
location: class meshi.util.ModelAnalyzer
            } catch (Exception ex ) {throw new RuntimeCryptoException(ex.getMessage());}
                                               ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
3 errors
是不是少包啊,试着装了半天,还是不行求指条明路!
非常感谢!

解决方案 »

  1.   

    org.bouncycastle.crypto少了这个包,将包导入就可以了。
      

  2.   

    将包导入工程,右键工程 build path-->add libraries
      

  3.   

    org.bouncycastle.crypto少这个包,这个包好像是加密解密的!下面是下载地址!
    http://www.bouncycastle.org/latest_releases.html
      

  4.   

    求问怎么安装这个包啊?
    我用的Mac系统, 我已经下了crypto-148.tar.gz,把jar文件加入了CLASSPATH,还是不行啊
      

  5.   

    求问怎么安装这个包啊?
    我用的Mac系统, 我已经下了crypto-148.tar.gz,把jar文件加入了CLASSPATH,还是不行啊
      

  6.   

    你这个是用什么工具开发的?如果是eclipse或者myeclipse的话,你直接将包copy到工程的lib目录下,然后右键包名(一般是*.jar包),build path--> 选择add to build path 即可!