1、配置maven库:settings——other settings——default settings——maven 2、新建没有class文件:settings——project structure——如图