当我将这些添加到我们的应用中时:
<inherits name="org.jboss.errai.security.Security" />
<inherits name="org.jboss.errai.security.SecurityShared" />
当我运行应用程序时:
[ERROR] Caused by: org.jboss.errai.bus.server.QueueUnavailableException: no queue available to send. (queue or session may have expired): (session id: 163fafa6e38d4f7d9f71e630cf9d4ca486863db58a3f5298b813e62ba0a64630)
[ERROR] at org.jboss.errai.bus.server.ServerMessageBusImpl.getQueueByMessage(ServerMessageBusImpl.java:872)
[ERROR] at org.jboss.errai.bus.server.ServerMessageBusImpl.send(ServerMessageBusImpl.java:334)
[ERROR] at org.jboss.errai.bus.client.api.base.ConversationMessageWrapper.sendNowWith(ConversationMessageWrapper.java:238)
[ERROR] at org.jboss.errai.bus.client.api.base.DefaultMessageBuilder$1.sendNowWith(DefaultMessageBuilder.java:84)
[ERROR] at org.jboss.errai.bus.client.util.ErrorHelper.disconnectRemoteBus(ErrorHelper.java:171)
[ERROR] at org.jboss.errai.bus.client.util.ErrorHelper.handleMessageDeliveryFailure(ErrorHelper.java:222)
[ERROR] at org.jboss.errai.bus.server.SimpleDispatcher.dispatch(SimpleDispatcher.java:63)
[ERROR] at org.jboss.errai.bus.client.api.base.DefaultMessageBuilder$1.reply(DefaultMessageBuilder.java:140)
[ERROR] ... 35 more
但是当删除继承时,应用程序运行正常。为什么添加这些继承会破坏应用程序?