nexus linux64启动,NoClassDefFoundError: org.sonatype.appcontext.AppContextFactory

1、将nexus****-bundle.zip直接解压到/usr/local

2、在bin/jsw/linux-x86-64中

bash -x nexus start 

    发现无法启动,输入:****:8081/nexus,打不开界面

3、在控制台下启动

bash -x nexus console

抛出异常

Exception in thread "main" java.lang.NoClassDefFoundError: org.sonatype.appcontext.AppContextFactory

原因是由于权限不够,不能读取runtime lib中的jar,修改用户权限即可
chmod -R 777 nexus

猜你喜欢

转载自yizhilong28.iteye.com/blog/1125071