1. 包在同级的问题,将设置中的Hide去掉即可,如图
2.没有 tomcat 中 deploment 中没有 Artifacts的问题:settings -> building,execution -> Build Tools -> Maven -> Importing 中勾选Import Maven projects automatically。
3.解决main文件下没有 resources 文件的方法:
打开Project Structure -> Module界面:
在 main 文件夹中右键新建New Folders并选择,并选择Resources