JBoss Tools部署错误:这可能是由于您的服务器的临时部署目录位于与最终目标不同的文件系统上 [英] JBoss Tools deploy error: This may be caused by your server's temporary deploy directory being on a different filesystem than the final destination

查看:701
本文介绍了JBoss Tools部署错误:这可能是由于您的服务器的临时部署目录位于与最终目标不同的文件系统上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中使用JBoss Tools部署应用程序时,我遇到以下错误:


错误重命名C:\wildfly-8.1。 0.Final\standalone\tmp\tmp7858611943756287857.xhtml到C:\wildfly-8.1.0.Final\standalone\deployments\.war\403.xhtml。



这可能是由于您的服务器的临时部署目录位于与最终目标不同的文件系统上。



您可以在服务器中调整这些设置编辑器。


这里是错误的屏幕截图:



< img src =https://i.stack.imgur.com/96PI6.pngalt =JBoss工具错误>




I have the following error when deploying an application with JBoss Tools in Eclipse:

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.

And here is a screenshot of the error:

On the documentation, I found this:

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.

What does The temporary folder must be on the same file system as the final deploy location mean?

How can I solve it?

I've realized that the error doesn't occur when the check box Deploy projects as compressed archives is checked.

解决方案

I get this error right after I updated a dependency in my pom.xml and tried to republish.

The thing that worked was to uncheck the setting in the server deployment for "Deploy projects as compressed archives"

这篇关于JBoss Tools部署错误:这可能是由于您的服务器的临时部署目录位于与最终目标不同的文件系统上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆