在eclipse中發布maven的多模組web項目到tomcat上及單步debug模組jar

來源:互聯網
上載者:User

標籤:maven


1.在eclipse中發布maven的多模組web項目到tomcat

eclipse和maven及tomcat的部署略去,還有maven的基礎知識和使用在此處略去.

按照如下的步驟操作:





將lib和maven模組產生的jar加入到lib下.

注意:到這步可能有WebContent並且沒有src/main/webapp,要做如下操作

1、選中 WebContent,remove掉它

2、建立一個,Source檔案夾為src/main/webapp,deploy path為 /



至此,後面可以用正常的發布web項目到tomcat的流程來走.

參考自:  http://zk1878.iteye.com/blog/1222330



2.單步debug模組jar











比如選擇的路徑為"F:/server-projects/qide-system/UIDTracePlatForm/Services/modules/mod_uidcode20/src/main/java";

至此,已經將maven模組jar對應的源碼映射進來,在以debug模式運行tomcat時,可以正常地進行單步調試了


參考自:http://wwwlouxuemingcom.blog.163.com/blog/static/20974782201110178343191/



聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.