栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > Java

maven nexus私服运行报错OpenJDK 64-Bit Server VM warning: Cannot open file ../sonatype-work/nexus3/log/jvm.

Java 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

maven nexus私服运行报错OpenJDK 64-Bit Server VM warning: Cannot open file ../sonatype-work/nexus3/log/jvm.

OpenJDK 64-Bit Server VM warning: Cannot open file ../sonatype-work/nexus3/log/jvm.log due to No such file or directory
nexus    | Warning:  Cannot open log file: ../sonatype-work/nexus3/log/jvm.log
nexus    | Warning:  Forcing option -XX:LogFile=/tmp/jvm.log

报错的原因,安装路径中有中文!!
改了就行

一、下载

下载:nexus-3.19.1-01-win64.zip
提取码:13ns

二、安装

查找应用–>找到命令提示符–>右键–>以管理员身份运行–>cd 切换到nexus安装路径下的bin目录
如我的路径是:C:MySoftwaremavennexusnexus-3.19.1-01-win64nexus-3.19.1-01bin
cmd里面输入nexus.exe/run
就可以安装了

Microsoft Windows [版本 10.0.22000.613]
(c) Microsoft Corporation。保留所有权利。

C:WINDOWSsystem32>cd C://

C:>cd MySoftware

C:MySoftware>cd maven

C:MySoftwaremaven>cd nexus

C:MySoftwaremavennexus>cd nexus-3.19.1-01-win64

C:MySoftwaremavennexusnexus-3.19.1-01-win64>cd nexus-3.19.1-01

C:MySoftwaremavennexusnexus-3.19.1-01-win64nexus-3.19.1-01>cd bin

C:MySoftwaremavennexusnexus-3.19.1-01-win64nexus-3.19.1-01bin>nexus.exe/run

三、打开
  1. 打开网页
http://localhost:8081/nexus/#browse/welcome


2. 点击登录

2.x的版本,默认账户和密码是admin和admin123
3.x的版本,默认账户名:admin,密码在C:MySoftwaremavennexusnexus-3.19.1-01-win64sonatype-worknexus3admin.password

  1. 记事本打开复制密码去登录
  2. 登录以后会提示改密码
  3. 我改成了123456

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/826879.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号