Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建maven项目时报错, #988

Open
PGokc opened this issue Jul 23, 2023 · 0 comments
Open

创建maven项目时报错, #988

PGokc opened this issue Jul 23, 2023 · 0 comments

Comments

@PGokc
Copy link

PGokc commented Jul 23, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant