简体   繁体   English

Tomcat7未使用Web部署程序集

[英]Web Deployment Assembly not used by Tomcat7

My understanding is when running tomcat inside of eclipse, during publishing... eclipse will copy files based on the settings in Web Deployment Assembly to tomcat directory. 我的理解是在eclipse中运行tomcat时,在发布期间... eclipse会根据Web部署程序集中的设置将文件复制到tomcat目录。 I added my app to Tomcat 7 thru Server --> "Add or Remove...", when I start tomcat, I don't see any files been copied to /usr/share/tomcat7/wtpwebapps/myapp folder. 我将我的应用程序添加到Tomcat 7到服务器 - >“添加或删除...”,当我启动tomcat时,我没有看到任何文件被复制到/ usr / share / tomcat7 / wtpwebapps / myapp文件夹。 BTW, I have all the folder structure (folders) under tomcat directory, but missing all the files (like .class, .properties, .xml and ...). 顺便说一下,我有tomcat目录下的所有文件夹结构(文件夹),但是缺少所有文件(如.class,.properties,.xml和...)。 This is the error I am getting when start tomcat. 这是我在启动tomcat时遇到的错误。 BTW, the directory show in the pic is the directory under tomcat. 顺便说一句,图中显示的目录是tomcat下的目录。 I thought the publishing process copies files from eclipse to tomcat dir? 我以为发布过程会将文件从eclipse复制到tomcat目录? It looks like it's trying to copy files from tomcat dir to somewhere else. 看起来它正在尝试将文件从tomcat目录复制到其他地方。 What am I missing? 我错过了什么? My Server path and Deploy path are all correct. 我的服务器路径和部署路径都是正确的。

在此输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM