linux信任本地jar包,jar包在linux本地运行成功, 但是jenkins构建失败
一个springboot服务的jar包在linux本地运行成功, 但是jenkins构建失败,报错,求解决
我的jenkins shell脚本
BUILD_ID=dontKillMe
java -jar Chapter13-1.0-SNAPSHOT.jar &ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(/tmp/LOG_FILE_IS_UNDEFINED,true) call failed. java.io.FileNotFoundException: /tmp/LOG_FILE_IS_UNDEFINED (Permission denied)
at java.io.FileNotFoundException: /tmp/LOG_FILE_IS_UNDEFINED (Permission denied)
at at java.io.FileOutputStream.open0(Native Method)
at at java.io.FileOutputStream.open(FileOutputStream.java:270)
at at java.io.FileOutputStream.(FileOutputStream.java:213)
at at ch.qos.logback.core.recovery.ResilientFileOutputStream.(ResilientFileOutputStream.java:26)
at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204)
at at ch.qos.logback.core.FileAppender.start(FileAppender.java:127)
at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:100)
at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90)
at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193)
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:179)
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CRAWLER_LOG] - openFile(/tmp/event.log,true) call failed. java.io.FileNotFoundException: /tmp/event.log (Permission denied)
at java.io.FileNotFoundException: /tmp/event.log (Permission denied)
at at java.io.FileOutputStream.open0(Native Method)
at at java.io.FileOutputStream.open(FileOutputStream.java:270)
at at java.io.FileOutputStream.(FileOutputStream.java:213)
at at ch.qos.logback.core.recovery.ResilientFileOutputStream.(ResilientFileOutputStream.java:26)
at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204)
ERROR org.springframework.boot.SpringApplication - Application startup failed
java.lang.IllegalStateException: Logback configuration error detected:
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[FILE] - openFile(/tmp/LOG_FILE_IS_UNDEFINED,true) call failed. java.io.FileNotFoundException: /tmp/LOG_FILE_IS_UNDEFINED (Permission denied)
ERROR in ch.qos.logback.core.rolling.RollingFileAppender[CRAWLER_LOG] - openFile(/tmp/event.log,true) call failed. java.io.FileNotFoundException: /tmp/event.log (Permission denied)
at org.springframework.boot.logging.logback.LogbackLoggingSystem.loadConfiguration(LogbackLoggingSystem.java:162)
at org.springframework.boot.logging.AbstractLoggingSystem.initializeWithConventions(AbstractLoggingSystem.java:81)
at org.springframework.boot.logging.AbstractLoggingSystem.initialize(AbstractLoggingSystem.java:59)
at org.springframework.boot.logging.logback.LogbackLoggingSystem.initialize(LogbackLoggingSystem.java:115)
at org.springframework.boot.logging.LoggingApplicationListener.initializeSystem(LoggingApplicationListener.java:303)
linux信任本地jar包,jar包在linux本地运行成功, 但是jenkins构建失败相关推荐
- linux 执行jar包 不生成日志文件,jar包在linux本地运行成功, 但是jenkins构建失败...
一个springboot服务的jar包在linux本地运行成功, 但是jenkins构建失败,报错,求解决 我的jenkins shell脚本 BUILD_ID=dontKillMe java -ja ...
- Linux查找class类所在jar包
1.说明 写代码或者定位问题的时候, 经常发生只知道类名不知道其所在jar包的问题, 在Eclipse中可以使用Ctrl+Shift+T查找类, 但是如果类所在的jar包不在Build Path中, ...
- 【在linux云服务器上传jar包并运行jar】以及Linux运行包的相关命令
系列文章目录 文章目录 系列文章目录 前言 一.上传jar包 二.云服务器运行jar包相关命令 1.运行jar包 2.关闭jar包 前言 一.idea打jar包教程.点击浏览文章 二.笔者是用第三方X ...
- linux 后台运行jar包命令,Linux 运行jar包命令(Cent OS 7后台运行jar包)
Linux 运行jar包命令如下: 方式一 特点:当前ssh窗口被锁定,可按CTRL + C打断程序运行,或直接关闭窗口,程序退出 那如何让窗口不锁定? 方式二 java -jar shareniu. ...
- Windows/Linux下引用jar包,并用javac/java编译运行
Windows/Linux下引用jar包,并用javac/java编译运行,有需要的朋友可以参考下. 1> Windows 假设要引用的jar放在D:/test目录下,名字为t1.jar, ja ...
- java -jar 停止_推荐:Linux启动Java程序jar包Shell脚本
每次启动Java程序jar包的时候,难道你还在手敲java -jar xxserver.jar--?边敲边想着都需要追加哪些参数? 今天就推荐给大家一个几乎通用的Shell脚本,它支持Java程序Ja ...
- java解析上的jar包里的pom_Maven引入本地Jar包并打包进War包中的方法
1.概述 在平时的开发中,有一些Jar包因为种种原因,在Maven的中央仓库中没有收录,所以就要使用本地引入的方式加入进来. 2. 拷贝至项目根目录 项目根目录即pom.xml文件所在的同级目录,可以 ...
- linux jar 运行 停止,[转] Linux中启动和停止jar包的运行
脚本一: startTest.sh内容如下: #!/bin/sh java -jar Test.jar & #注意:必须有&让其后台执行,否则没有pid生成 echo $! ...
- Java:Linux上java -jar xxx.jar命令执行jar包时出现Error: Invalid or corrupt jarfile xxx.jar解决方案
Java:Linux上java -jar xxx.jar命令执行jar包时出现Error: Invalid or corrupt jarfile xxx.jar解决方案 参考文章: (1)Java:L ...
最新文章
- ROS系统开发——ROS,realsense风险和解决方案备忘录
- delphi 回调函数
- KLayout 软件使用崩溃
- 机器学习中距离和相似性度量方法
- 关于JAVA并发编程你需要知道的——硬件篇
- opengl es纹理贴图效果实例
- 最大隶属度原则_【模糊数学课程笔记】六、模糊模型识别I(最大隶属度原则)...
- wordpress python 采集_Python3利用Selenium3模拟wordpress博客登陆
- mysql 分表 存储过程,通用分表存储过程
- caffe 实践程序2——用细分的方法实现caffe中cifar100的识别
- Sturts2【四】 StrutsPrepareAndExecuteFilter源码分析二
- Python如何清屏命令行终端
- 虎牙tv是用php写的吗,huya虎牙php_麦麦同学
- 消息队列原理和应用场景总结
- 三维GIS视频融合监控平台
- Warshall算法的实现(两种方式)
- 用PYTHON做一个简单的游戏脚本(基础,详细)
- numpy、pandas下载速度慢问题
- 机器学习——朴素贝叶斯
- 爬虫学习记录1:通讯协议、网络模型、爬虫分类及常见概念
热门文章
- java抽象方法特点_java-抽象类的特点
- sql文件加载出错_四十二、SparkSQL通用数据源加载(load)和保存(save)
- python装饰器的顺序_python中装饰器的装饰顺序和执行顺序
- WinForm客户端限速下载(C#限速下载)
- python数据结构-数组/列表/栈/队列及实现
- react-router v4 路由规则解析
- 机器学习实战之Logistic回归
- 存货控制中的ABC分类释义
- JDK Windows安装
- mysql主从之slave-skip-errors和sql_slave_skip_counter