Java 如何在tomcat中调试war文件

Java 如何在tomcat中调试war文件,java,eclipse,jsf,tomcat,Java,Eclipse,Jsf,Tomcat,我刚开始研究JSF。我遵循了一些步骤。在最后一步,我创建了一个项目,并对其进行了配置。构建项目后,eclipse在我的jsf项目中创建了目标文件夹。我将war文件移到了ApacheTomcat的webapps文件夹中 在localhost:8080/firstJsfApp之后,它成功地工作了 但是当我在这个项目上更改了一些内容,它重新创建了.war文件。我必须再次(反复)将其移动到tomcat文件夹中 还有什么方法可以让这更简单吗?您可以直接从Eclipse将您的Web应用部署到tomcat:

我刚开始研究JSF。我遵循了一些步骤。在最后一步,我创建了一个项目,并对其进行了配置。构建项目后,eclipse在我的jsf项目中创建了目标文件夹。我将war文件移到了ApacheTomcat的webapps文件夹中

localhost:8080/firstJsfApp
之后,它成功地工作了

但是当我在这个项目上更改了一些内容,它重新创建了
.war文件
。我必须再次(反复)将其移动到tomcat文件夹中


还有什么方法可以让这更简单吗?

您可以直接从Eclipse将您的Web应用部署到tomcat:

1st. Open the "Servers" view in Eclipse, and it will allow you to configure a tomcat instance.
2nd. Add your webapp to the tomcat


然后可以调试并热部署对项目的任何更改

您可以直接从Eclipse将您的webapp部署到tomcat:

1st. Open the "Servers" view in Eclipse, and it will allow you to configure a tomcat instance.
2nd. Add your webapp to the tomcat


然后可以调试并热部署对项目的任何更改

您可以直接从Eclipse将您的webapp部署到tomcat:

1st. Open the "Servers" view in Eclipse, and it will allow you to configure a tomcat instance.
2nd. Add your webapp to the tomcat


然后可以调试并热部署对项目的任何更改

您可以直接从Eclipse将您的webapp部署到tomcat:

1st. Open the "Servers" view in Eclipse, and it will allow you to configure a tomcat instance.
2nd. Add your webapp to the tomcat



然后可以调试并热部署对项目的任何更改

这里是一个链接,你可以在eclipse中运行tomcat:

这里是一个链接,你可以在eclipse中运行tomcat:

这里是一个链接,你可以在eclipse中运行tomcat:

这里是一个链接,你可以在eclipse中运行tomcat:

哦,我太晚了:)@outDev,如果有办法通过intellij进行调试,你可以分享吗?哦,我太晚了:)@outDev你能分享一下通过intellij调试的方法吗?哦,我太晚了:)@outDev你能分享一下通过intellij调试的方法吗?哦,我太晚了:)@outDev你能分享一下通过intellij调试的方法吗?谢谢。也许斯塔克德夫也试着说同样的话。但我认为这还不够。我认为他的解释与我发布的链接所提供的相同,请接受他的回答,因为他已经先发布了,谢谢。也许斯塔克德夫也试着说同样的话。但我认为这还不够。我认为他的解释与我发布的链接所提供的相同,请接受他的回答,因为他已经先发布了,谢谢。也许斯塔克德夫也试着说同样的话。但我认为这还不够。我认为他的解释与我发布的链接所提供的相同,请接受他的回答,因为他已经先发布了,谢谢。也许斯塔克德夫也试着说同样的话。但我认为这还不够我认为他的解释与我发布的链接所提供的相同,请接受他的回答,因为他已经先发布了答案,thx。@如果有办法通过intellij调试,outDev可以共享。@如果有办法通过intellij调试,outDev可以共享。@如果有办法通过intellij调试,outDev可以共享。@如果有办法通过intellij调试,outDev可以共享。