java.lang.IllegalArgumentException:给定父级不是org.jboss.vfs.VirtualFile.getPathNameRelativeTo中此虚拟文件的祖先

时间:2016-07-27 08:48:37

标签: java-ee deployment jboss illegalargumentexception virtualfilesystem

我正在尝试将一个WAR部署到JBoss,但它会抛出异常:

// Keys are String (package name), values are Package.  This also serves
// as the lock for the global state.  Methods that must be called with
// this lock held have the prefix "LP".
final HashMap<String, PackageParser.Package> mPackages =
        new HashMap<String, PackageParser.Package>();

这是如何引起的?如何解决?

1 个答案:

答案 0 :(得分:0)

从jboss-as-7.1.1.Final/standlone/deployments删除以前的部署。