Wind is Wild

日常体会,以及笔记

 

java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider

今天部署完一个测试war包,打开页面的时候报错:

HTTP Status 500 - Handler processing failed; nested exception is java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider

详细错误信息不贴了,缺少了包bcprov-jdkxx-xxx.jar,如:bcprov-jdk15on-1.58.jar

如果是maven项目的话,就添加依赖项:

Groupid: org.bouncycastle

ArtifactId: bcprov-jdk15on

Version: 1.58

 

posted on 2017-09-07 14:24  ifdef  阅读(2629)  评论(1编辑  收藏  举报

导航