一、创建SpringBoot工程
1、点击File -》New -》Project
2、选择工程Spring Initilizer
3、设置对应目录和组件
二、创建package和代码
1、New ->Directory,创建普通文件夹
2、选中新建的文件夹,右键->Mark Direcotory 按时->Sources Root
3、在下方创建interface文件和java.class文件
package com.example.jacocodemo.utils;
public interface CalCulator {
public int sub(int x,int y);
}
CalCulatorImpl.class