解决eclipse中tomcat无法识别maven web项目问题
eclipse工具中導入了maven web項目, 但是tomcat死活都識別不了, maven項目進行了clean install等操作, 但是仍無效, 后在網上搜索到以下答案, 解決問題
?
1. 右擊項目 -> Debug As -> Maven build...
2. 在Goals中填入: -Dwtpversion=2.0 eclipse:eclipse
?
對于WTP(Web Tools Project)官方的介紹如下
The Eclipse plugin supports creating configurations for Eclipse WTP (Web Tools Project). Projects with a WAR packaging can be setup as WTP dynamic web projects and runtime dependencies are configured to be used when running them using Eclipse internal servers.
大體意思是, Eclipse插件支持為Eclipse WTP(Web Tools Project)創(chuàng)建配置. 具有WAR包的項目可以設置為WTP動態(tài)web項目, 運行時依賴配置在使用eclipse內部服務器運行時使用. 總之就是很牛逼了...
鏈接: http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html
---------------------?
作者:Pansanday?
來源:CSDN?
原文:https://blog.csdn.net/pansanday/article/details/68488490?
版權聲明:本文為博主原創(chuàng)文章,轉載請附上博文鏈接!
總結
以上是生活随笔為你收集整理的解决eclipse中tomcat无法识别maven web项目问题的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 怎么把cr2文件批量转换成jpg
- 下一篇: 四种路由器连接方式设置路由器的教程