Giter Club home page Giter Club logo

Comments (8)

zhechuan1 avatar zhechuan1 commented on July 28, 2024 1

感觉有点像这个问题:不同的类加载器加载同一个class文件,得到的类型也不相同(但是包名类名相同)。如果可以,试着把类加载器改为双亲委派模式看能不能解决。

from gmhelper.

xipki avatar xipki commented on July 28, 2024 1

检查一下class path是否有两个不同的bcprov-jdk15on*.jar文件。比如在tomcat下在lib目录下有一个,同时war里面也含了一个。

from gmhelper.

ZZMarquis avatar ZZMarquis commented on July 28, 2024

有详细的异常堆栈信息吗?这个错误有点怪呀,为啥完全相同的类型还会转换失败。。。

from gmhelper.

tianpeter avatar tianpeter commented on July 28, 2024

有详细的异常堆栈信息吗?这个错误有点怪呀,为啥完全相同的类型还会转换失败。。。
没 就是报上面那个错误 但是在本地运行就是没问题的 放到服务器上就出错 jdk都是1.7
具体就是在调用 BCECutil.java (BCECPrivateKey) kf.generatePrivate(peks); 这个方法报错了(应该是在277行)

from gmhelper.

ZZMarquis avatar ZZMarquis commented on July 28, 2024

信息太少,我也不好判断。JDK小版本是否一样?

from gmhelper.

yuanyp avatar yuanyp commented on July 28, 2024

对应的js的有没有啊,网上找的js 搞出来不一样,无语了啊。

from gmhelper.

ZZMarquis avatar ZZMarquis commented on July 28, 2024

@yuanyp 我没做js的,可以再在github上找找,一般star较多的应该靠谱一点

from gmhelper.

550756709 avatar 550756709 commented on July 28, 2024

有详细的异常堆栈信息吗?这个错误有点怪呀,为啥完全相同的类型还会转换失败。。。
没 就是报上面那个错误 但是在本地运行就是没问题的 放到服务器上就出错 jdk都是1.7
具体就是在调用 BCECutil.java (BCECPrivateKey) kf.generatePrivate(peks); 这个方法报错了(应该是在277行)

请问下楼主 这个问题解决了嘛

from gmhelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.