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 刚遇到这个问题了