解决nohup java -jar xxx.jar报出[1]+ Exit 1的错误:Unable to access jarfile xxx.jar和PersistenceException异常

文章目录

  • 1. 复现问题
  • 2. 分析问题
    • 2.1 Unable to access jarfile xxx.jar
      • 2.1.2 分析Unable to access jarfile xxx.jar
      • 2.1.2 解决Unable to access jarfile xxx.jar
    • 2.2 exceptions.PersistenceException异常
      • 2.2.1 分析 exceptions.PersistenceException异常
      • 2.2.2 解决exceptions.PersistenceException异常
  • 3. 问题总结

1. 复现问题

今天把manager.jar部署到测试环境的project目录下,使用如下指令启动项目:

[root@manager ~] nohup java -jar manager.jar > log.file 2>&1 &
[1] 78216

78126mana

你可能感兴趣的:(后端开发技术的解决方法,java,spring,boot,jar,linux,mysql)