2016-01-03 55 views
0

我曾经添加我的maven项目到tomcat服务器v7.0右键单击服务器 - >添加和删除 - >选择我的项目 - >完成。在eclipse中添加maven项目构建到tomcat

但今天我没有在列表中找到我的maven项目。 “可用”部分只有一个项目。 我如何让我的项目在列表中。

enter image description here

回答

2

我已经看到这种垃圾在IRAD(IBM的Eclipse版本)多次。我认为这个软件只是普通的小车。确保将代码备份到其他地方,如在代码库中,并删除所有项目,包括本地文件。然后再检查一遍。此外,tomcat非常适合在其webapps文件夹中找到更改。你可能想忘记一起通过eclipse进行部署。您还有其他一些选项可以让您在不必重新部署的情况下立即查看更改。

Hot deploy solutions 
1) Use Jrebel - this is expense 
2) Expand your war in the webapps folder and send symbolic links back to  your target folders containing your class, and to you jsp, javascript directories 
3) Expand your war in the webapps folder and use filesync plug in (its been hard to find on the web for a while) to copy your changes to the expanded area 

其他方式只是为了送过来你的战争/耳朵,到Web服务器似乎是天方夜谭,他们从来没有完全据我可以告诉摸索出不热部署

1) Change your maven code to copy the ear/war to the tomcat directory for you every time you run maven install 

完全集成的IDE。

相关问题