tomcat-maven-plugin: Server returned HTTP response code: 403

坚强是说给别人听的谎言 提交于 2019-11-29 12:42:22

The Tomcat server you start from inside Eclipse isn't going to have a 'Tomcat Manager' console available (localhost:8080/manager) unless you configure it with this option:

This means that the Tomcat you start from Eclipse is exactly the one you provided when defining the Tomcat server in the IDE. Otherwise Eclipse runs a pruned version, without manager available, in a directory located inside the workspace:

{workspace_dir}\.metadata\.plugins\org.eclipse.wst.server.core\tmp0

If you don't have a tomcat manager available in the instance you're running tomcat-maven-plugin won't be able to deploy anything

Best regards

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!