Run Tomcat and deploy project with own server.xml

前端 未结 3 1333
忘掉有多难
忘掉有多难 2020-12-06 11:10

I just want to run a web project that has been configured in a maven project with the pom.xml. It uses the maven tomcat7-maven-plugin to deploy the web app artifact and all

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-06 12:08

    I think you can try this configuration

    
      ...
      
        servidor-identidades-webapp
        
          
            org.codehaus.mojo
            tomcat-maven-plugin
            1.1
            
              myserver
              http://127.0.0.1:8080/manager
              /servidor-identidades-webapp
              C:/Users/fulanis/workspace2/web/target/servidor-identidades-webapp.jar
            
          
        
      
    
    

    Ref: https://wiki.base22.com/display/btg/How+to+create+a+Maven+web+app+and+deploy+to+Tomcat+-+fast

    Hope this helps.

提交回复
热议问题