MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法

首先贴出来错误:

MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法_第1张图片

详情为:
Publishing failed
Could not publish to the server.
There were issues during deployment to server Tomcat v7.0 Server at localhost. See Error Log for details.
Deployment failed
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\UsersManagement\META-INF.
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\UsersManagement\META-INF.
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\UsersManagement\META-INF.
Could not publish to the server.
There were issues during deployment to server Tomcat v7.0 Server at localhost. See Error Log for details.
Deployment failed
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\Test\META-INF.
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\Test\META-INF.
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\Test\META-INF.
Could not publish to the server.
There were issues during deployment to server Tomcat v7.0 Server at localhost. See Error Log for details.
Deployment failed
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\MiniPower\META-INF.
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\MiniPower\META-INF.
Cannot create directory C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\MiniPower\META-INF.


OK。这个原因是因为你的管理员权限的问题。解决办法:

添加权限控制:

MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法_第2张图片

MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法_第3张图片

MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法_第4张图片

MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法_第5张图片

MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法_第6张图片

MyEclipse 下'Publishing to Tomcat'has encountered a problem解决办法_第7张图片

在刚开始时点安全之后会可能没有EveryOne 这个选项,但是没有什么问题。这时可以选择User进行操作、但是在 倒数第二步操作图选择时,还是要选择EveryOne。然后此时就可以在安全项看到EveryOne了。此时操作EveryOne给权限(就是最后一步)。

ok,这样就完成了。

如有问题请留言


你可能感兴趣的:(软件测试)