Publishing to tomcat v6.0 server at localhost..\'has encountered a problem.
Publishing the configuration..
tomcat give above error. How to resolve above erro
For my setup, eclipse oxygen, win 10:
Grant rights to tomcat install directory and "Window"/"Preferences"/"Server"/"Runtime Environment"/"Search" search from local disk where the server runtime environment is installed.
Click on Server tab
and delete it
.
Again Add it
and add to your project
.
Clean
the tomcat
directory and restart it
.
This can help You.
Your Eclipse is trying to write into the Program Files folder, which is protected by default by the Windows operating system.
The solution:
Navigate to the Program Files folder.
Right-click on the Apache Software Foundation folder.
Click on Edit .
Select Users in the Names of groups or users list-box.
In the other Permissions for users list-box, check Full Control.
Click Apply/OK.
Option 1:
And make sure the parent folder "C:\Program Files\Apache Software Foundation" has the full control rights for all users.
You can set the rights by right clicking on the folder and go under 'Security' tab.
Option 2:
Do a fresh Tomcat install to a separate directory or folder or simply just copy everything from the tomcat installation directory to a different directory.
Now modify the Runtime for Apache Tomcat to point to the new location.
I'm not sure about the root cause of this issue but the above approach seems to be a workaround.
The situation described above may also happen if the eclipse installation (in eclipse speech: install location) directory is moved after the first startup. Eclipse Mars (4.5.1) comes up with irritating warnings/messages if its install location is changed.
For server runtimes consider inspecting the following metadata file for occurances of the "location" attribute:
<path-to-workspace-dir>\workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.wst.server.core.prefs
I have found solution. Simply change the destination folder to be installed. if it give error in c then not dont install it in c .just change the directory