Nexus 私服启动异常

问题1 java

****************************************
WARNING – NOT RECOMMENDED TO RUN AS ROOT
****************************************
If you insist running as root, then set the environment variable RUN_AS_USER=root before running this script. app


解决方案: this

大概意思就是要在环境配置export RUN_AS_USER=root,临时配置 spa

在命令行下输入: 命令行

export RUN_AS_USER=root


或者在vi /etc/profile 加入: export RUN_AS_USER=root

问题2
wrapper  | Unable to start JVM: No such file or directory

解决方案:把wrapper.conf里面的wrapper.java.command=%JAVA_HOME%/bin/java改为绝对路径
相关文章
相关标签/搜索