Tomcat 部署,在部署可能会出现以下问题:
Deployment failure on Tomcat 6.x. Could not copy all resources to E:\apache-tomcat-6.0.16\webapps\HebbnWebServices. 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 E:\apache-tomcat-6.0.16\webapps\HebbnWebServices
再次点部署按钮时就会提示如下:
Undeployment Failure could not be redeployed because it could not be completely removed in the undeployment phase. the most common cuase 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.
解决的办法就是在Eclipse中把项目中引用的jar文件重新加一遍就行了,基本原因就是以前的jar文件不存在了,但是项目信息中还有,即项目的.classpath文件中还有不存在的jar文件引用。
可以右键点项目名称,选择Properties,选择Java Build Path,选择Libraries,把所有项目中的jar都remove,然后再点"add jars",把项目中的jar文件都加进来,再次部署就正常了。
分享到:
相关推荐
linux下tomcat部署
NULL 博文链接:https://yunlong167167.iteye.com/blog/2087430
Tomcat 部署ecology9
spring boot项目和vue一起放在tomcat部署,spring boot项目和vue一起放在tomcat部署
tomcat部署war项目的一般操作,从打包,上传,启动项目,查看日志,备份war包,入门操作教程。
在Myeclipse 8.5中用外带的tomcat时候,会因为JDK版本的问题出现Could not find the main class,按照上述文档的步骤就可以解决,我亲自体验过
Tomcat部署WEB项目,让你轻松部署自己的网站
web项目是企业以及政府部门最常用的工具,政府门户网站,企业官网等基本都是web项目,web项目所使用的技术也是在不断的更新,前几年的技术基本上都是jsp+ssh,到...本文主要介绍了springboot+VUE怎么使用tomcat去部署
Tomcat部署,Tomcat部署,Tomcat部署,Tomcat部署,Tomcat部署,Tomcat部署,Tomcat部署
tomcat部署有三种方式,介绍了他们的优缺点,以及配置方法
. eclipse 4.1 导入项目后 Target runtime Apache Tomcat v6.0 is not defined
WSDD + TOMCAT 一键部署Webservices 配置工作: 1、将/wsdd/attachment下的axis.rar解压到tomcat的webapps文件夹下 2、配置/wsdd下的config.properties, #tomcat的路径 tomcat.path=e:/apache-tomcat-7.0.23 #...
tomcat服务器上部署项目
mars-MP3项目整合(包括源码+tomcat部署文件)
1.解决jdk低版本向高版本发送请求失败 2.解决Could not generate DH keypair错误 3.不需要修改JDK配置 4.不需要向JDK中添加jar文件 5.向高版本服务器端发送https请求 6.有代码实例,完美运行 7.压缩包中附带使用说明
Tomcat项目部署方式,静态部署,动态部署以及使用经验
Tomcat控制台部署
IDEA导入SVN项目(WEB)配置tomcat部署项目
Tomcat部署项目时报错解决方案,有自己的也有网上收集的,觉得有点用分享出来
redis+sentinel+tomcat部署Linux详细步骤,带安装包,自动脚本。redis+sentinel+tomcat部署Linux详细步骤,带安装包,自动脚本。redis+sentinel+tomcat部署Linux详细步骤,带安装包,自动脚本。