简体   繁体   中英

Error in publishing in Tomcat 6 in eclipse Juno

I am getting the following error while starting the Tomcat 6 server. I have configured JDK as run time.

Publishing failed
Could not create directory \\<user directory>\Desktop\'E:\test\Tomcat\webapps\tmywebproj.

The path

\\Desktop\\'E:\\test\\Tomcat\\webapps\\tmywebproj is invalid path.

My tomcat installation is there in E: drive.

But the message corresponds to an invalid path.

EDIT

My Tomcat installation directory: E:\test\Tomcat
My workspace: E:\test\workspace

Please suggest me how to correct this error.

I tried deleting and adding the server again, and restarting the eclipse. But none of them worked.

Edit

Deploy Path:  E:\test\Tomcat\webapps

Server Path:  E:\test\Tomcat

Tomcat Screen shot 在此处输入图片说明

change your deploy path its incorrect.

click on link(which is upper to deploy path)

在此处输入图片说明

OR

set only "webapps" and try again.(Some times your application deploy on "wtpwebapps" folder in tomcat so first conform that and then select).

You have control if your Runtime Environment have correct path? You can see on Windows>Preferences>Server>Runtime_Environment now you can insert (on Add) Apache with correct directory or control if directory is correct.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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