刚建好的maven工程没有src/main/java和src/test/java目录

在项目上右键,选择properties->Java Build Path,选择Libraries选项卡,点击edit

选择第二个Alternate JRE

点击finish,然后apply。

如有疑问,欢迎评论留言。

猜你喜欢

转载自blog.csdn.net/qq_35528312/article/details/82719847