我们正在将 JBoss 的版本从 4.x 更新到 5.1.1。
我将 EAR 放在 jboss 5.1.1 中,一旦我开始我的应用程序,我就会得到
"The content of element type "message-driven" must match "(ejb-name,destination-jndi-name,mdb-
user?,mdb-passwd?,mdb-client-id?,mdb-subscription-id?,configuration-name?,security-proxy?,ejb-
ref*,resource-ref*,resource-env-ref*,depends*)"."
上述异常,我尝试更改 ejb-jar.xml 中的 DTD,但它抛出了相同的异常
这个耳朵以前在 JBoss 4 中成功部署过。