在project explorer中找到当前项目:
右键项目->Build Path->Configure Build Path…
在这里插入图片描述
如图,勾选maven Dependencies,再Apply即可
在这里插入图片描述

new选项中出现class
在这里插入图片描述

更多推荐