问题描述
我在Ubuntu上运行Eclipse中的tomcat7。当发布到本地主机时,tomcat无法复制任何文件。他们都显示为没有这样的文件或目录。我有那些文件,我可以在eclipse和本地目录中看到它们。有没有文件配置tomcat从哪个目录复制文件?我失踪了什么这是一个许可的事情。另外我建议手动安装tomcat,而不是运行apt-get。
或将工作。
I am running tomcat7 inside of Eclipse on Ubuntu. When publishing to localhost, tomcat could not copy any of the files. They all showed as "No such file or directory". I have those files, I can see them in eclipse and local directory. Is there a file configures which directory tomcat will copy the files from? What am I missing?
It's a permission thing. Also I recommend install tomcat manually instead of running apt-get.Either https://askubuntu.com/questions/17223/permissions-problem-when-copying-files-to-usr-share-tomcat6 or http://www.frattv.com/tomcat-can-t-start-from-ide-eclipse-luna-wtp-intellij-idea-in-ubuntu/ will work.
这篇关于Eclipse + Tomcat7无法复制Ubuntu中的所有文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!