文件运行后保存在resources中,resources目录下可以有public,static,resources,templates四个文件夹可以被访问到。优先级大到小resources,static(静态资源,比如图片),public(一般公共的资源),templates====localhost:8080/
本文来自博客园,作者:阿霖找BUG,转载请注明原文链接:https://www.cnblogs.com/lin-07/articles/16209271.html