java.lang.noclassdeffounderror:无法初始化类sun.security.provider.securerandom$seederholder

roejwanj  于 2021-08-25  发布在  Java
关注(0)|答案(0)|浏览(219)

在prod环境中为应用程序随机获取以下错误。但是,在下一次运行时,未报告错误,并且已成功启动。
错误:-

java.lang.NoClassDefFoundError: Could not initialize class sun.security.provider.SecureRandom$SeederHolder
    at sun.security.provider.SecureRandom.engineNextBytes(Unknown Source) ~[na:1.8.0_51]
    at java.security.SecureRandom.nextBytes(Unknown Source) ~[na:1.8.0_51]
    at java.util.UUID.randomUUID(Unknown Source) ~[na:1.8.0_51]
    at org.springframework.integration.MessageHeaders.<init>(MessageHeaders.java:96) ~[spring-integration-core-2.1.0.RELEASE.jar:na]
    at org.springframework.integration.message.GenericMessage.<init>(GenericMessage.java:68) ~[spring-integration-core-2.1.0.RELEASE.jar:na]
    at org.springframework.integration.message.GenericMessage.<init>(GenericMessage.java:49) ~[spring-integration-core-2.1.0.RELEASE.jar:na]
    at org.springframework.integration.message.ErrorMessage.<init>(ErrorMessage.java:33) ~[spring-integration-core-2.1.0.RELEASE.jar:na]
    at org.springframework.integration.channel.MessagePublishingErrorHandler.handleError(MessagePublishingErrorHandler.java:83) ~[spring-integration-core-2.1.0.RELEASE.jar:na]

任何人都可以分享一些关于上述错误的建议,我们如何解决??什么原因会导致突然发生classdefnotfound??应用程序中没有任何更改。到目前为止,我们只收到过一次。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题