Idea build artifact does not have .js and .css files

when running a web project using Idea, the .ftl file under the webapp directory will be copied to ouput directory, but the .css and .js files will not be copied, the following css folder is full of css files, and the whole folder will not be copied, resulting in the missing style and js when running the project. I always need to copy it manually, is there something wrong with me? Or does it have something to do with the pom.xml file? Hope God"s advice

clipboard.png

clipboard.png

Apr.11,2021
Menu