tomcat错误:The page you tried to access (/manager/login.do) does not exist

今天在idea上跑一个项目,所有配置都正常,其他接口测试也正常。唯独“/manage/user”接口在测试的时候后台没反应,也就是程序根本没往下走,postman测试显示如下:

 

浏览器范围url连接显示如下:

 

原因是因为url问题,要是浏览器直接访问localhost:8080/manager,如下:

搞不明白怎么回事,最后网上查阅得知,url:“/manager”开头是错误的。所有不要以/manager开始,要么你改一下端口,或者范围路径

转载于:https://www.cnblogs.com/smfx1314/p/10124721.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
The error message "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?" indicates that there is a problem connecting to the Docker daemon. The Docker daemon is responsible for managing Docker containers and must be running for Docker commands to work. In the provided references, the user encountered this issue after restarting the server, and the Docker containers were not working. They tried various solutions but were unable to resolve the problem until they manually started the Docker daemon. To fix this issue, you can try the following steps: 1. Check if the Docker daemon is running by using the command: [2] ``` systemctl status docker ``` This command will show the status of the Docker service. If it is not running, you will need to start it. 2. Start the Docker daemon by using the command: [2] ``` dockerd ``` This command will start the Docker daemon and allow you to connect to it. 3. If the above steps do not resolve the issue, you can try restarting the Docker service: [2] ``` systemctl restart docker ``` This command will restart the Docker service and may help in resolving any underlying issues. Additionally, you can use the following commands for troubleshooting: - To check the running services, you can use: [3] ``` systemctl | grep running ``` This command will show the list of running services, and you can check if the Docker service is listed. - To view the Docker service startup logs, you can use: [3] ``` journalctl -u docker ``` This command will display the logs related to the Docker service startup, which can help in identifying any errors or issues. Remember to check the system requirements and ensure that Docker is properly installed and configured on your CentOS system.<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [cannot connect to the docker daemon at unix ///var/run/docker.sock. Is the docker daemon running?](https://blog.csdn.net/l751475472/article/details/122968595)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值