第一次开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 class="java.io.File"><inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /></parameter></constructor>  

 重启 JBoss,问题解决

相关文章:

  • 2021-04-06
  • 2022-12-23
  • 2021-06-04
  • 2021-11-24
  • 2022-01-25
  • 2021-08-12
  • 2022-12-23
  • 2021-07-01
猜你喜欢
  • 2022-02-04
  • 2021-04-13
  • 2021-09-22
  • 2022-02-22
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案