【发布时间】:2023-03-09 11:39:01
【问题描述】:
在 Eclipse 中启动 JBoss 服务器时出现此错误。
Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed.
DEPLOYMENTS IN ERROR
Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: wrong arguments. new for taget java.land.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
我用谷歌搜索了AttachementStore 错误,大多数人建议通过向构造函数参数节点添加一个类来修改 profile.xml (conf/bootstrap/profile.xml) 文件,如下所示。 .
constructor parameter class="java.io.File"
添加class="java.io.File" 似乎是所有地方都接受的解决方案,因为它是 JBoss 中的一个已知错误,但它对我不起作用。
我知道我正确地添加了类,我检查、重新检查并再次检查了 profile.xml 文件,但 JBoss 在启动时仍然抛出相同的错误。我完全感到困惑。有人有其他想法吗?
【问题讨论】:
-
看起来与stackoverflow.com/questions/2489106/error-starting-jboss-server 完全相同,其中还包含一个投票率很高的答案。