首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

expected= [java.net.URI] actual=[java.io.File]异常

2012-09-23 
expected[java.net.URI] actual[java.io.File]错误java.lang.IllegalArgumentException: Wrong argument

expected= [java.net.URI] actual=[java.io.File]错误

java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=

[java.net.URI] actual=[java.io.File]

此问题为jboss的一个bug,其链接为https://jira.jboss.org/browse/JBAS-6981

修改$JBOSS_HOME/server/< serverName>/conf/bootstrap/profile.xml 中的

<bean name="AttachmentStore" property="attachmentStoreRoot" /></parameter></constructor><property name="mainDeployer"><inject bean="MainDeployer" /></property><property name="serializer"><inject bean="AttachmentsSerializer" /></property><property name="persistenceFactory"><inject bean="PersistenceFactory" /></property></bean>

?为下面代码

<bean name="AttachmentStore" property="attachmentStoreRoot" /></parameter></constructor><property name="mainDeployer"><inject bean="MainDeployer" /></property><property name="serializer"><inject bean="AttachmentsSerializer" /></property><property name="persistenceFactory"><inject bean="PersistenceFactory" /></property></bean>
?

?

?

1 楼 yuanliyin 2012-07-12   刚遇到这个问题了

热点排行