简体   繁体   English

Japss补丁升级到7.0。,5 | java.lang.NoClassDefFoundError:com / sun / net / ssl / internal / ssl / Provider

[英]Jboss patch to eap 7.0.,5 | java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider

i am getting below error while doing log in to my application which uses Java 8 and Jboss 7.0.5 (just patched from 7.0.4 to 7.0.5) : 11:57:19,190 ERROR [stderr] (default task-7) Caused by: java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider 2018-01-02 11:57:19,190 [default task-7] ERROR stderr - Caused by: java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider 登录到使用Java 8和Jboss 7.0.5(仅从7.0.4修补到7.0.5)的应用程序时,出现以下错误:11:57:19,190错误[stderr](默认任务7)引起了创建者:java.lang.NoClassDefFoundError:com / sun / net / ssl / internal / ssl / Provider 2018-01-02 11:57:19,190 [默认任务7]错误stderr-原因:java.lang.NoClassDefFoundError:com / sun / net / ssl / internal / ssl / Provider

This error has been occuring after applying patch any help valuable suggestions would be really appriciated!!! 应用补丁后,就会发生此错误,任何有价值的建议都会得到真正的应用!!!

Jboss 7 looks for dependencies in the modules folder. Jboss 7在modules文件夹中查找依赖项。 You can't just go in the modules.xml file and add new modules if they don't actually exist. 您不能只是进入modules.xml文件并添加新模块(如果它们实际上不存在)。

What you need to do is find out whether there is a jar containing the missing class, if it exist then you need to add a reference to that module from your project, if does not exist, you need to manually download it and copy it to the modules directory and then reference it. 您需要做的是找出是否有一个包含缺少类的jar,如果存在,则需要从项目中添加对该模块的引用,如果不存在,则需要手动下载并将其复制到模块目录,然后引用它。

You have several ways you can reference it: 您可以通过几种方式来引用它:

Add a classpath entry to your manifest file: Classpath: com.sun.net Add a global reference to that module in your standalone.xml by adding a Global module . 在清单文件中添加一个类路径条目:类路径:com.sun.net通过添加一个Global模块 ,在standalone.xml中添加对该模块的全局引用。 For more details, look here . 有关更多详细信息, 参见此处

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Jboss 7中部署时间错误(java.lang.NoClassDefFoundError:com / sun / net / ssl / internal / ssl / Provider) - Deploy time error (java.lang.NoClassDefFoundError: com/sun/net/ssl/internal/ssl/Provider ) in Jboss 7 java.lang.NoClassDefFoundError> com / sun / net / ssl / internal / www / protocol / https / DelegateHttpsURLConnection - java.lang.NoClassDefFoundError > com/sun/net/ssl/internal/www/protocol/https/DelegateHttpsURLConnection java.lang.NoClassDefFoundError: sun/security/ssl/HandshakeStateManager - java.lang.NoClassDefFoundError: sun/security/ssl/HandshakeStateManager JavaWeb java.lang.NoClassDefFoundError: sun/security/ssl/HelloExtension - JavaWeb java.lang.NoClassDefFoundError: sun/security/ssl/HelloExtension 出现错误java.lang.NoClassDefFoundError:在Jboss EAP 6.4.x中部署时,sun / net / www / protocol / https / HttpsURLConnectionImpl - Getting Error java.lang.NoClassDefFoundError: sun/net/www/protocol/https/HttpsURLConnectionImpl when deployed in Jboss EAP 6.4.x 使用com.sun.net.ssl.internal.ssl.Provider()的旧Java代码 - Legacy Java code use of com.sun.net.ssl.internal.ssl.Provider() 无法访问com.sun.net.ssl.internal.ssl.Provider()Java MailApi - Can't acces com.sun.net.ssl.internal.ssl.Provider() Java MailApi 谷歌 OAUTH: java.lang.NoClassDefFoundError: javax/net/ssl/HttpsURLConnection - Google OAUTH: java.lang.NoClassDefFoundError: javax/net/ssl/HttpsURLConnection java.lang.NoClassDefFoundError: javax/net/ssl/HostnameVerifier - java.lang.NoClassDefFoundError: javax/net/ssl/HostnameVerifier JBoss 5.1.0 EAP。 随机生成java.lang.NoClassDefFoundError - JBoss 5.1.0 EAP. Randomly Occuring a java.lang.NoClassDefFoundError
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM