java - JBoss 工具部署错误 : This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination

标签 java eclipse deployment jboss jboss-tools

在 Eclipse 中使用 JBoss 工具部署应用程序时出现以下错误:

Error renaming C:\wildfly-8.1.0.Final\standalone\tmp\tmp7858611943756287857.xhtml to C:\wildfly-8.1.0.Final\standalone\deployments\.war\403.xhtml.

This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination.

You may adjust these settings in the server editor.

这是错误的截图:

JBoss Tools error

关于documentation ,我发现了这个:

You can customize the deployment location and packaging type:

  • To select the workspace deployment folder for the server, click Use workspace metadata.
  • To select the deployment folder of the application server, click Use the JBoss deploy folder.
  • To select a folder of your choice, click Use a custom deploy folder. With this option, complete the Deploy directories and Temporary Deploy Directory fields. The temporary folder must be on the same file system as the final deploy location otherwise publishing often fails.
  • For all modules to be archived for deployment, select the Deploy projects as compressed archives check box. This avoids exploded deployments and reduces the amount of memory deployments occupy but may result in slower deployment.

The temporary folder must be on the same file system as the final deploy location 是什么意思?我该如何解决?

我已经意识到,当复选框部署项目为压缩文件时,没有发生错误。

最佳答案

我按照以下步骤解决了这个问题:

  1. 重启电脑
  2. 已从“standalone\deployments”文件夹中删除项目文件
  3. 删除文件夹“standalone\tmp”中的所有文件
  4. 在 Eclipse 中清理项目
  5. 在 Eclipse 中,从 Wildfly 中删除项目,然后重新添加
  6. 在 Eclipse 中,右键单击“Wildfly”,然后右键单击“Clean...”
  7. 在 Eclipse 中,右键单击项目模块,然后选择“完全发布”

关于java - JBoss 工具部署错误 : This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26487574/

相关文章:

java - 反复调用API,直到全部数据下载完毕

java - 在 Eclipse 动态 Web 项目中包含 HTML 文件

ruby-on-rails - rails : Why is bundle install frozen up by sassc 2. 4.0

java - 计算多个表中的实体数量

java - 如何在 IntelliJ IDEA 中禁用 'Convert Java to Kotlin upon paste'?

Java:实现简单的方程

java - Eclipse 不再自动在 javadocs 中添加标签

java - 广告不可见。不刷新广告

git - 您如何处理使用子模块部署 Rails 应用程序?

deployment - vb6 xcopy 部署