Intellij和Apache Tomcat不更新 [英] Intellij and Apache Tomcat not updating
问题描述
我有一个使用Spring MVC框架进行了几个月的项目.为了进行开发,我使用了带有爆炸war文件的Apache Tomcat 8.0.17.从昨天开始一切都很好.现在,当我更改Java文件时,更改将不再可见.我什至可以抛出运行时异常之类的东西(我总是重新启动tomcat服务器).更新"我的代码的唯一方法是重建整个项目(构建->重建项目),这既耗时又非常烦人.
I have a project going on for a couple of months now using a Spring MVC framework. For developing I am using an Apache Tomcat 8.0.17 with an exploded war file. Everything worked well since yesterday. Now when I change my Java Files the changes are no longer visible. I can even throw runtime exceptions and stuff like that (I always restart the tomcat server). The only way to "update" my code is to rebuild the whole project (Build --> Rebuild Project) which is quite time consuming and very annoying.
我没有更改配置,也没有更新Intellij IDEA或Tomcat服务器.
I did not change anything in the configuration nor updated Intellij IDEA or the Tomcat Server.
推荐答案
我可以通过手动删除以下文件夹中的所有文件来解决此问题:
I could fix this by manually deleting all the files in the following folder:
%userdir%/.IntelliJIdea14/system/tomcat
完全重建后,更新过程将再次正常运行.
After a full rebuild the updateing process works perfectly again.
这篇关于Intellij和Apache Tomcat不更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!