第一次开JBoss服务器:有些时候会遇到这种情况:把以下的文字替换即可

进到类似目录 server/default/conf/bootstrap,打开文件 profile.xml找到: 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><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>  修改为:

Xml代码 <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore">   <constructor><parameter class="java.io.File"><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,问题解决

相关文章:

  • 2021-06-26
  • 2021-09-27
  • 2021-09-15
  • 2022-12-23
  • 2021-06-13
  • 2022-02-01
  • 2021-05-29
猜你喜欢
  • 2021-10-12
  • 2022-02-22
  • 2021-09-09
  • 2021-09-11
  • 2021-12-22
  • 2021-12-26
  • 2022-12-23
相关资源
相似解决方案