vscode-maven icon indicating copy to clipboard operation
vscode-maven copied to clipboard

创建maven项目时报错,

Open PGokc opened this issue 1 year ago • 0 comments

Describe the bug 我想通过vscode创建一个maven项目, 所有前置工作已经做好, 但是最终发生了错误; 错误信息如下: /Library/apache-maven-3.8.4/bin/mvn.cmd: line 1: syntax error near unexpected token (' /Library/apache-maven-3.8.4/bin/mvn.cmd: line 1: @REM Licensed to the Apache Software Foun'ation (ASF) under one

To Reproduce Steps to reproduce the behavior: 经过多方搜索并没有看到同样的问题, 起初我以为是maven版本太高导致的兼容性问题, 所以我下载了低版本的maven并重新设置环境变量等, 再次操作时仍然是同样的错误.

Expected behavior 我期望能够正常构建出一个maven项目

Environments (please complete the following information as much as possible):

  • OS: OS X
  • VS Code version: 1.80
  • Extension version [e.g. 0.9.0]

Screenshots image

Additional context Add any other context about the problem here.

PGokc avatar Jul 23 '23 13:07 PGokc