Tomcat部署错误
在tomcat中部署时出错Tomcat部署错误,tomcat,Tomcat,在tomcat中部署时出错 >C:\Users\SYSTEM7\Documents\NetBeansProjects\webbbbbbb\nbproject\build-impl.xml:1087: Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager-script" role in the To
>C:\Users\SYSTEM7\Documents\NetBeansProjects\webbbbbbb\nbproject\build-impl.xml:1087: Deployment error: Access to Tomcat server has not been authorized. Set the correct username and password with the "manager-script" role in the Tomcat customizer in the Server Manager.
>See the server log for details.
>BUILD FAILED (total time: 17 seconds)
In build-impl.xml:1087 line has following xml Snippet:
1086: <target if="netbeans.home" name="-run-deploy-nb">
1087: <nbdeploy clientUrlPart="${client.urlPart}" debugmode="false" forceRedeploy="${forceRedeploy}"/>
1086: </target>
>C:\Users\SYSTEM7\Documents\NetBeansProjects\webbbb\nbproject\build impl.xml:1087:部署错误:未授权访问Tomcat服务器。使用服务器管理器中Tomcat定制器中的“管理器脚本”角色设置正确的用户名和密码。
>有关详细信息,请参阅服务器日志。
>生成失败(总时间:17秒)
内建impl.xml:1087行包含以下xml片段:
1086:
1087:
1086:
在(C:)中向管理员提供完全权限,或者将项目工作区和Tomcat服务器文件夹更改为其他驱动器。这是很好的工作。。。我和朋友试了两天才发现。感谢nobalG设计内容。