简体   繁体   English

Tomcat无法访问/经理可访问

[英]tomcat not accessible /manager is accessible

I'm running a tomcat server on OS X. Tomcat is started with the command: 我正在OS X上运行tomcat服务器。Tomcat使用以下命令启动:

sh catalina.sh start

When I go to localhost:8080 nothing shows up (just a blank page) but when I go to localhost:8080/manager I can login and I can see the manager page. 当我转到localhost:8080时,什么都没有显示(只是一个空白页),但是当我转到localhost:8080 / manager时,我可以登录并且可以看到管理器页面。

Also when I try to deploy my app through maven I get the following error: 另外,当我尝试通过Maven部署应用程序时,出现以下错误:

[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli) on project docFlow-core: Cannot invoke Tomcat manager: http://localhost:8080/manager/text/deploy?path=%2Fcore&war= -> [Help 1]

I'm running a Tomcat 7 instance. 我正在运行Tomcat 7实例。

As far as I recall, the manager app is not bundled with your default tomcat installation anymore, probably for security reasons. 据我所知,管理器应用程序不再与您的默认tomcat安装捆绑在一起,可能出于安全原因。 You can however download and install it yourself as explained on the tomcat website. 但是,您可以按照tomcat网站上的说明自行下载并安装它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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