java.security.NoSuchAlgorithmException解決方案

在linux環境下java程序運行拋出如下異常:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESede
at javax.crypto.Cipher.getInstance(DashoA13*..)
at com.newheight.util.Encrypter.<clinit>(Encrypter.java:28)
at com.newheight.util.DecryptPlaceholderConfigurer.resolvePlaceholder(DecryptPlaceholderConfigurer.java:30)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.resolvePlaceholder(PropertyPlaceholderConfigurer.java:354)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer.parseStringValue(PropertyPlaceholderConfigurer.java:303)
at org.springframework.beans.factory.config.PropertyPlaceholderConfigurer$PlaceholderResolvingStringValueResolver.resolveStringValue(PropertyPlaceholderConfigurer.java:419)


在classpath中加入包jce.jar,sunjce_provider.jar問題解決
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章