IDEA Create file recursively in my output path.
Answered
I am a java web developer and use intellij IDEA in short time. Recently i found IDEA was very solw, when I am start tomcat server to debug my application,
IDEA was stuck in "copy resource.......". then i found the problem below:
IDEA always create output directory recursively, when i run my web application, IDEA will create out directory in prior output path, and copy all my resource again and again.
it was clearly show in this picture:

In the end, here are my project structure setting.


I am looking forward to your kindly reply.
Please sign in to leave a comment.
Why do you have 2 web facets? What are the directory settings for the web facets?
Please check the related issue with the discussion and the resolution steps: https://youtrack.jetbrains.com/issue/IDEA-164644.
Serge Baranov
Thank for your answer, But, i can't access to your link https://youtrack.jetbrains.com/issue/IDEA-164644.
the reason of the "2 web facets" is IDEA always reminded of me that it detected a new facet in my project.
You should be able to access https://youtrack.jetbrains.com/issue/IDEA-164644 now, sorry for the problem.
Facet detection can be disabled/ignored.
Serge Baranov
As your link say, i solve my problems successfully.
Thank for you help.
in the end, i want to share my error setting below.
you can't believe the problem was so easy to be ignored.