您的位置:首页 > 产品设计 > UI/UE

JBOSS报错:Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException

2014-03-28 09:50 656 查看
此错误常在5.1版本中出现。
这个错误是配置文件profile.xml内的一个bug,文件路径为:$JBOSS_HOME/server/<serverName>/conf/bootstrap/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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐