-
Notifications
You must be signed in to change notification settings - Fork 2
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
运行./mvnw clean package,遇错,怎么解决? #2
Comments
先装个maven,然后用mvn命令打包 |
用mvn命令打包,依旧遇错: 怎么解决? |
你的JDK是openjdk吗? |
我换了oracle的jdk。但是运行apt-get install -y maven 后,此命令:apt-get install -y maven顺带安装了openjdk,我vps的默认jdk又变成了openjdk版。 how to fix it? |
你可以找一下oraclejdk的位置,自己手动改一下PATH |
hi. root@sh: 还是遇错。如何解决? |
hi.
[root@bwg-vps Wsocks-Old]# ./mvnw clean package
/root/Wsocks-Old
Error: Could not find or load main class org.apache.maven.wrapper.MavenWrapperMain
[root@bwg-vps Wsocks-Old]#
The text was updated successfully, but these errors were encountered: