Java 启动JBoss 5.1.0.GA/AttachmentStore时出错

Java 启动JBoss 5.1.0.GA/AttachmentStore时出错,java,jboss5.x,Java,Jboss5.x,我在Eclipse中启动JBoss服务器时遇到这个错误 Failed to boot JBoss: java.lang.IllegalStateException: Incompletely deployed. DEPLOYMENTS IN ERROR Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: wrong arguments. new for taget java.

我在Eclipse中启动JBoss服务器时遇到这个错误

Failed to boot JBoss:
java.lang.IllegalStateException: Incompletely deployed. 

DEPLOYMENTS IN ERROR
Deployment "AttachmentStore" is in error due to: java.lang.IllegalArgumentException: wrong arguments. new for taget java.land.reflect.Constructor expected=[java.net.URI] actual=[java.io.File]
我在谷歌上搜索了
AttachementStore
错误,大多数人建议修改profile.xml(conf/bootstrap/profile.xml)文件,方法是向构造函数参数节点添加一个类,如下所示

constructor parameter class="java.io.File"
添加
class=“java.io.File”
似乎是到处都能接受的解决方案,因为这是JBoss中的一个已知错误,但对我来说不起作用


我知道我添加的类是正确的,我检查了,profile.xml文件,再次检查,但是JBoss在启动时仍然抛出相同的错误。我完全不知所措。有人有其他想法吗?

错误主要发生在将java 6升级到java 7或8时。以前我使用JDK6U10,现在改为JDK7U45


使用java版本的jdk 6u10或Sun jdk 1.6.0_13运行项目。JBOSS成功地使用这些JDK版本运行。

看起来像是一个完全相同的版本,其中还包含一个经过投票表决的答案。