问题:
Deployment failure on Tomcat 7.x. Could not copy all resources to G:\eclipse\Tomcat\test2\apache-tomcat-7.1.23\webapps\teach. 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:\eclipse\Tomcat\test2\apache-tomcat-7.1.23\webapps\teach
解决办法:
是不是把数据库创建在项目文件夹中了,如果是就把数据库分离剪切到项目文件夹外,再附加,再部署就可以了;
要不然就是删除了jar包,重新导入这些jar包