可能由于maven更新导致
解决:mvn -v没问题 说明maven环境变量配置没问题
maven配置文件
setting.xml文件检查修改:


vscode设置,搜索maven

发现user settings 为3.6.9 修改

打开setting.json 修改:
"java.configuration.maven.userSettings": "/opt/homebrew/Cellar/maven/3.9.9/libexec/conf/settings.xml",
"maven.executable.path": "/opt/homebrew/Cellar/maven/3.9.9/libexec/bin/mvn",
发现下方为/opt/homebrew/Cellar/maven/3.9.6/libexec/bin/mvn 修改为查询到的maven版本3.9.9后
加载成功
1412

被折叠的 条评论
为什么被折叠?



