您的位置:首页 > 编程语言 > Java开发

jboss启动出错----java.lang.IllegalArgumentException: Wrong arguments.

2014-04-25 19:50 543 查看
在目录 server/default/conf/bootstrap下面,打开文件 profile.xml(如果找到的profile.xml没有找到下面这段代码,建议重新安装)

找到:
<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
<constructor><parameter><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
 

修改为:
<bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">
<constructor><parameter class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>
 

之后重启 JBoss,问题应该解决。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  jboss 启动错误
相关文章推荐