Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
690 views
in Technique[技术] by (71.8m points)

tomcat - Error in publishing the configuration in Eclipse

Publishing to tomcat v6.0 server at localhost..'has encountered a problem.

Publishing the configuration..

tomcat give above error. How to resolve above error. I googled alot but have not found any solution. please help me.

Publishing the configuration...

Error copying file to C:/Program Files/Apache Software Foundation/Tomcat 6.0/backupcatalina.policy: C:Program FilesApache Software FoundationTomcat 6.0ackupcatalina.policy (The system cannot find the path specified)
C:Program FilesApache Software FoundationTomcat 6.0ackupcatalina.policy (The system cannot find the path specified)
Error copying file to C:/Program Files/Apache Software Foundation/Tomcat 6.0/backupcatalina.properties: C:Program FilesApache Software FoundationTomcat 6.0ackupcatalina.properties (The system cannot find the path specified)
C:Program FilesApache Software FoundationTomcat 6.0ackupcatalina.properties (The system cannot find the path specified)
Error copying file to C:/Program Files/Apache Software Foundation/Tomcat 6.0/backupcontext.xml: C:Program FilesApache Software FoundationTomcat 6.0ackupcontext.xml (The system cannot find the path specified)
C:Program FilesApache Software FoundationTomcat 6.0ackupcontext.xml (The system cannot find the path specified)
Error copying file to C:/Program Files/Apache Software Foundation/Tomcat 6.0/backupserver.xml: C:Program FilesApache Software FoundationTomcat 6.0ackupserver.xml (The system cannot find the path specified)
C:Program FilesApache Software FoundationTomcat 6.0ackupserver.xml (The system cannot find the path specified)
Error copying file to C:/Program Files/Apache Software Foundation/Tomcat 6.0/backupomcat-users.xml: C:Program FilesApache Software FoundationTomcat 6.0ackupomcat-users.xml (The system cannot find the path specified)
C:Program FilesApache Software FoundationTomcat 6.0ackupomcat-users.xml (The system cannot find the path specified)
Error copying file to C:/Program Files/Apache Software Foundation/Tomcat 6.0/backupweb.xml: C:Program FilesApache Software FoundationTomcat 6.0ackupweb.xml (The system cannot find the path specified)
C:Program FilesApache Software FoundationTomcat 6.0ackupweb.xml (The system cannot find the path specified)
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Your Eclipse is trying to write into the Program Files folder, which is protected by default by the Windows operating system.

The solution:

  1. Navigate to the Program Files folder.

  2. Right-click on the Apache Software Foundation folder.

  3. Click on Properties.
  4. Go to the Security Tab.
  5. Click on Edit .

  6. Select Users in the Names of groups or users list-box.

  7. In the other Permissions for users list-box, check Full Control.

  8. Click Apply/OK.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...