Error installing to Instantiated: name=AttachmentStore state=Described
今天在Eclipse中启动jboss-5.1.0.GA时遇到这样的一个错误:
……
ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described
java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
……
DEPLOYMENTS IN ERROR:
Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
从错误信息中,就知道是 AttachmentStore 的一个参数错误。
解决方法倒很简单,只要修改一下 profile.xml(JBOSS_HOME/server/default/conf/bootstrap/profile.xml) 中的 AttachmentStore 设置就可以了。在该文件中,你可以找到:
1: <bean name="AttachmentStore" class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore"> 2: <constructor> 3: <parameter> 4: <inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /> 5: </parameter> 6: </constructor> 7: <property name="mainDeployer"><inject bean="MainDeployer" /></property> 8: <property name="serializer"><inject bean="AttachmentsSerializer" /></property> 9: <property name="persistenceFactory"><inject bean="PersistenceFactory" /></property> 10: </bean>
只需将它改为:
1: <bean name="AttachmentStore"class="org.jboss.system.server.profileservice.repository.AbstractAttachmentStore"> 2: <constructor> 3: <!-- 修改这里 --> 4: <parameter class="java.io.File"> 5: <inject bean="BootstrapProfileFactory" property="attachmentStoreRoot" /> 6: </parameter> 7: </constructor> 8: <property name="mainDeployer"><inject bean="MainDeployer" /></property> 9: <property name="serializer"><inject bean="AttachmentsSerializer" /></property> 10: <property name="persistenceFactory"><inject bean="PersistenceFactory" /></property> 11: </bean>
Error installing to Instantiated: name=AttachmentStore state=Described相关推荐
- 运行JBoss 5.1.0 GA时出现Error installing to Instantiated:name=AttachmentStore state=Described错误的解决办法...
第一次开JBoss服务器:有些时候会遇到这种情况:把以下的文字替换即可 进到类似目录 server/default/conf/bootstrap,打开文件 profile.xml找到: Xml代码 & ...
- Error:org.gradle.api.internal.changedetection.state.FileCollectionSnapshotImpl cannot be cast to org
androidStudio上R提示:Can't resolve symbol 'R' ,并出现如下错误: Error:org.gradle.api.internal.changedetection.s ...
- [INS-08109] Unexpected error occurred while validating inputs at state 'getOCMDetails'.
在ORACLE11G R2 安装ORACLE时出现以下错误: [INS-08109] Unexpected error occurred while validating inputs at stat ...
- cocoapods 安装失败 ERROR: Error installing cocoapods: ERROR: Failed to build gem native extension.
cocoapods 安装失败 完整报错 尝试安装 我的问题 使用 Alamofire 需要基于 CocoaPods,但是在尝试安装 CocoaPods 的过程中遇到了很多问题,捣鼓了很久都失败了,最后 ...
- 使用cocoapods install友盟时报错Error installing UMengAnalytics
报错: [!] /usr/bin/unzip /Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics/file. ...
- error in ./node_modules/@lit/reactive-element/decorators/state.jsModule parse failed: Unexpected
最近开发一个老项目,发现之前好好的项目现在运行起来报错了 ,各种切换npm 源和 node版本都不行,百度和谷歌都没找到相关信息,报错如下, error in ./node_modules/@lit ...
- react-native pod install: [!] Error installing boost-for-react-native
- 具体错误: [!] Error installing boost-for-react-native [!] Failed to download 'boost-for-react-native': ...
- [!] Error installing PromiseKit
[!] Error installing PromiseKit pod install 的时候,PromiseKit这个框架更新报错 [!] Error installing PromiseKit [ ...
- Vysor Error installing Apak:pakg:/data/local/tem/apk1508661961221
Vysor ,对于Vysor的介绍,这里就不多说了,可以自行百度一下.今天讲一下自己在用这个过程中出现的错误.由于深入学习android内核,我将原来的真机的系统搞奔溃了,于是用线刷技术,将原来的MI ...
- Android Studio上Session 'app': Error Installing APK错误解决方案
我在使用Android Studio的时候,使用自己魅族(M5 Note)做真机测试,运行不成功,提示下面图片中的错误(Session 'app':Error Installing APK). 再经过 ...
最新文章
- WIN7 X64 Setup Oracle Developer Suite 10g
- 邮件附件在线预览——HTML Filter
- CodeForces - 126B Password(KMP中next数组)
- 分布式数据库基础:分布式事务相关概念介绍
- java如何限制输入值_[限制input输入类型]常用限制input方法
- php遍历子分类的函数,emlog程序获取主分类下的所有子分类ID函数
- 2017.3.16 聪聪可可 思考记录(非常不容易)
- Palo Alto Networks下一代安全平台五大创新功能:云安全为重中之重
- Google 推荐和鼓励的 13 条代码审查标准,建议收藏!
- 计算机快速换界面,老板来了?这些好用的Windows快捷键让你一秒切换操作界面!-页面设置快捷键...
- 职业经验分享之我是如何转行成为数据分析师的
- 为了让智能手机厂商早日推出 5G 手机,高通真是操碎了心
- Android攻城狮ScrollView
- PC端、手机端在线预览文档组件react-file-viewer与npm构建内存溢出
- python中级水平_Python 中级知识点
- 关于多重背包理解的一点思考和拨乱反正
- 相对论通俗演义(1-10) 第九章
- 差点被一个柿子砸中 -_-
- selenium3.141 +IE浏览器环境搭建(含驱动下载链接)
- IE/Firefox每次刷新时自动检查网页更新,无需手动清空缓存的设置方法