Tomcat deployement issue in a Maven project

后端 未结 4 640
执念已碎
执念已碎 2021-01-25 04:49

I have been trying to create a simple maven web based project to be confident about maven. I have added tomcat7 plugin in my pom.xml to use it as a server. But when i started to

4条回答
  •  再見小時候
    2021-01-25 05:31

    The url in configuration of maven plugin should be http://127.0.0.1:8080/manager/text which corresponds to the role manager-script.

    Also, it is worth noted that after changing the roles in {TOMCAT_HOME}/conf/tomcat-users.xml, you have to restart the tomcat server for reloading the configuration. I know this is a common sense, but my experience told me that some of you may really stuck at here.

提交回复
热议问题