原因
复制的静态资源目录没有编译
解决
检查target目录中,是否有static目录,若没有,重新右键项目install即可
若还不能解决,尝试浏览器缓存和IDEA编译设置,详见参考链接
参考
https://www.cnblogs.com/ssjxx98/p/12984188.html
https://www.cnblogs.com/xphhh/p/11355336.html
https://www.cnblogs.com/duaner92/p/10833798.html