You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
367 B

6 months ago
### 1. 找不到主类
```text
系统找不到文件 D:\project\.mvn\wrapper\maven-wrapper.properties。
错误: 找不到或无法加载主类 org.apache.maven.wrapper.MavenWrapperMain
原因: java.lang.ClassNotFoundException: org.apache.maven.wrapper.MavenWrapperMain
```
说明缺少.mvn 文件夹,执行以下命令
```shell
mvn -N io.takari:maven:wrapper
```