我正在尝试将我的应用程序从JBoss 7升级到WildFly10,我收到警告:
[0m[33m13:53:36,641 WARN [org.jboss.as.dependency.private] (MSC service thread 1-6)
WFLYSRV0018: Deployment "deployment.mywar.war" is using a private module
("org.jboss.as.jmx:main") which may be changed or removed in future versions
without notice.
jboss-deployment-structure.xml
中提到了该模块,如下所示:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure >
<deployment>
<dependencies>
<module name="org.jboss.as.jmx"/>
</dependencies>
</deployment>
</jboss-deployment-structure>
如何称为jmx的新模块?我试图用org.jboss.remoting-jmx
替换它,但后来我得到了
Invocation of init method failed;
nested exception is javax.management.JMRuntimeException:
Failed to load MBeanServerBuilder class org.jboss.as.jmx.PluggableMBeanServerBuilder:
java.lang.ClassNotFoundException: org.jboss.as.jmx.PluggableMBeanServerBuilder
答案 0 :(得分:1)
根据WildFly论坛,它没有任何意义,请参阅引用(source)
当您使用内部&#34;非公开&#34;时,您收到警告消息模块 从应用服务器。这只是告诉你你应该是 小心这一点。