Run the JBoss server for the first time: in some cases, replace the following text.
Go to the server/default/conf/bootstrap directory, open the file profile. xml, and find the Xml code.<BeanName = "AttachmentStore" class = "org. jboss. system. server. profileservice. repository. AbstractAttachmentStore"><Constructor> <parameter> <injectBean = "BootstrapProfileFactory" property = "attachmentStoreRoot"/> </Parameter> </constructor>
<Bean name = "AttachmentStore" class = "org. jboss. system. server. profileservice. repository. modify actattachmentstore "> <constructor> <parameter> <inject bean =" BootstrapProfileFactory "property =" attachmentStoreRoot "/> </parameter> </constructor>:
Xml Code<BeanName = "AttachmentStore" class = "org. jboss. system. server. profileservice. repository. AbstractAttachmentStore"><Constructor> <parameterClass = "java. io. File"> <InjectBean = "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> restart JBoss to solve the problem.