tomcat部署问题

来源:百度知道 编辑:UC知道 时间:2024/05/14 03:49:36
add的错误
Deployment failure on Tomcat 6.x. Could not copy all resources to G:\Tomcat\tomcat6\apache-tomcat-6.0.18\webapps\Struts_UserManagement. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at G:\Tomcat\tomcat6\apache-tomcat-6.0.18\webapps\Struts_UserManagement

redeploy时候弹出的错误提示
Struts_UserManagement could not be redeployed because it could not be completely removed in the undeployment phase. The most common cause of this problem is attempting to redeploy while the server is running,which has locked one or more files.

To correct the deployment you will need to stop the server and then redeploy the project before restarting the server

redeploy后的错误提示

Deployment is out of date due to changes in the underlying project contents. You'll need to manually 'Redeploy' the project to update the deplo

翻译之后大概意思是tomcat正在运行,并锁定了某些文件,导致无法deploy成功,建议你不要用deploy方式了,只是开发程序的话直接在server.xml里定义虚拟路径

到tomcat的官网去下载个安装包,就不用部署了,直接装上就OK

add的错误
Deployment failure on Tomcat 6.x. Could not copy all resources to G:\Tomcat\tomcat6\apache-tomcat-6.0.18\webapps\Struts_UserManagement. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at G:\Tomcat\tomcat6\apache-tomcat-6.0.18\webapps\Struts_UserManagement

redeploy时候弹出的错误提示
Struts_UserManagement could not be redeployed because it could not be completely removed in the undeployment phase. The most common cause of this problem is attempting to redeploy while the server is running,which has locked one or more files.

To correct the deployment you will need to stop the server and then redeploy the project before restarting the server

redeploy后的错误提示

Deployment