idea2022取消了自动导包的选项,因此手动添加依赖后idea不能马上识别
解决方法
1.在pom.xml文件下添加依赖
2. 在Maven里面没有dependencies
3.右击pom.xml,选中Maven,单击reload
4.出现了
idea2022取消了自动导包的选项,因此手动添加依赖后idea不能马上识别
1.在pom.xml文件下添加依赖
2. 在Maven里面没有dependencies
3.右击pom.xml,选中Maven,单击reload
4.出现了