慕仙4027102
2023-08-14 11:58
Started by user adminRunning as SYSTEM Building remotely on TestEnv in workspace /root/.jenkins/workspace/DeployOrder The recommended git tool is: NONE No credentials specified > /usr/local/git/bin/git rev-parse --resolve-git-dir /root/.jenkins/workspace/DeployOrder/order/.git # timeout=10 Fetching changes from the remote Git repository > /usr/local/git/bin/git config remote.origin.url git@jihulab.com:renzhiliang/order.git # timeout=10 Fetching upstream changes from git@jihulab.com:renzhiliang/order.git > /usr/local/git/bin/git --version # timeout=10 > git --version # 'git version 2.15.1' > /usr/local/git/bin/git fetch --tags --progress -- git@jihulab.com:renzhiliang/order.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/local/git/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision a1b09edbb628655b0eb6983a4d11d9c91fdeaad4 (refs/remotes/origin/master) > /usr/local/git/bin/git config core.sparsecheckout # timeout=10 > /usr/local/git/bin/git checkout -f a1b09edbb628655b0eb6983a4d11d9c91fdeaad4 # timeout=10 Commit message: "update deploy" > /usr/local/git/bin/git rev-list --no-walk a1b09edbb628655b0eb6983a4d11d9c91fdeaad4 # timeout=10 [DeployOrder] $ /bin/sh -xe /tmp/jenkins5099349217697876707.sh + BUILD_ID=DONTKILLME + . /etc/profile ++ export JAVA_HOME=/opt/jdk1.8.0_144 ++ JAVA_HOME=/opt/jdk1.8.0_144 ++ export JRE_HOME=/opt/jdk1.8.0_144/jre ++ JRE_HOME=/opt/jdk1.8.0_144/jre ++ export HADOOP_HOME=/opt/hadoop-1.2.1 ++ HADOOP_HOME=/opt/hadoop-1.2.1 ++ export HIVE_HOME=/opt/apache-hive-0.13.1-bin ++ HIVE_HOME=/opt/apache-hive-0.13.1-bin ++ export SQOOP_HOME=/opt/sqoop-1.4.6.bin__hadoop-1.0.0 ++ SQOOP_HOME=/opt/sqoop-1.4.6.bin__hadoop-1.0.0 ++ export MAVEN_HOME=/opt/apache-maven-3.5.3 ++ MAVEN_HOME=/opt/apache-maven-3.5.3 ++ export CLASSPATH=/opt/jdk1.8.0_144/lib:/opt/jdk1.8.0_144/jre/lib:/opt/apache-hive-0.13.1-bin/lib: ++ CLASSPATH=/opt/jdk1.8.0_144/lib:/opt/jdk1.8.0_144/jre/lib:/opt/apache-hive-0.13.1-bin/lib: ++ export PATH=/opt/jdk1.8.0_144/bin:/opt/jdk1.8.0_144/jre/bin:/opt/hadoop-1.2.1/bin:/opt/apache-hive-0.13.1-bin/bin:/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/git/bin:/opt/sqoop-1.4.6.bin__hadoop-1.0.0/bin:/opt/apache-maven-3.5.3/bin ++ PATH=/opt/jdk1.8.0_144/bin:/opt/jdk1.8.0_144/jre/bin:/opt/hadoop-1.2.1/bin:/opt/apache-hive-0.13.1-bin/bin:/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/git/bin:/opt/sqoop-1.4.6.bin__hadoop-1.0.0/bin:/opt/apache-maven-3.5.3/bin ++ export HADOOP_HOME_WARN_SUPPRESS=1 ++ HADOOP_HOME_WARN_SUPPRESS=1 ++ export HADOOP_COMMON_LIB_NATIVE_DIR=/opt/hadoop-1.2.1/lib/native ++ HADOOP_COMMON_LIB_NATIVE_DIR=/opt/hadoop-1.2.1/lib/native ++ export HADOOP_OPTS=-Djava.library.path=/opt/hadoop-1.2.1/lib ++ HADOOP_OPTS=-Djava.library.path=/opt/hadoop-1.2.1/lib ++ '[' -x /usr/bin/id ']' ++ '[' -z 0 ']' +++ /usr/bin/id -un ++ USER=root ++ LOGNAME=root ++ MAIL=/var/spool/mail/root ++ '[' 0 = 0 ']' ++ pathmunge /sbin ++ case ":${PATH}:" in ++ pathmunge /usr/sbin ++ case ":${PATH}:" in ++ pathmunge /usr/local/sbin ++ case ":${PATH}:" in +++ /bin/hostname ++ HOSTNAME=centos ++ HISTSIZE=1000 ++ '[' '' = ignorespace ']' ++ export HISTCONTROL=ignoredups ++ HISTCONTROL=ignoredups ++ export PATH USER LOGNAME MAIL HOSTNAME HISTSIZE HISTCONTROL ++ '[' 0 -gt 199 ']' ++ umask 022 ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/colorls.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/colorls.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/cvs.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/cvs.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/glib2.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/glib2.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/gnome-ssh-askpass.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/gnome-ssh-askpass.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/lang.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/lang.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/less.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/less.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/qt.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/qt.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/udisks-bash-completion.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/udisks-bash-completion.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/vim.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/vim.sh ++ for i in '/etc/profile.d/*.sh' ++ '[' -r /etc/profile.d/which2.sh ']' ++ '[' ehxB '!=' ehxB ']' ++ . /etc/profile.d/which2.sh ++ unset i ++ unset -f pathmunge ++ pwd + export PROJ_PATH=/root/.jenkins/workspace/DeployOrder + PROJ_PATH=/root/.jenkins/workspace/DeployOrder + export TOMCAT_APP_PATH=/opt/apache-tomcat-9.0.78 + TOMCAT_APP_PATH=/opt/apache-tomcat-9.0.78 + sh /root/.jenkins/workspace/DeployOrder/order/deploy.sh --------------------------------------------------- constituent[0]: file:/opt/apache-maven-3.5.3/conf/logging/ constituent[1]: file:/opt/apache-maven-3.5.3/lib/maven-resolver-api-1.1.1.jar constituent[2]: file:/opt/apache-maven-3.5.3/lib/maven-model-builder-3.5.3.jar constituent[3]: file:/opt/apache-maven-3.5.3/lib/wagon-provider-api-3.0.0.jar constituent[4]: file:/opt/apache-maven-3.5.3/lib/maven-resolver-connector-basic-1.1.1.jar constituent[5]: file:/opt/apache-maven-3.5.3/lib/guice-4.0-no_aop.jar constituent[6]: file:/opt/apache-maven-3.5.3/lib/maven-core-3.5.3.jar constituent[7]: file:/opt/apache-maven-3.5.3/lib/maven-settings-3.5.3.jar constituent[8]: file:/opt/apache-maven-3.5.3/lib/maven-plugin-api-3.5.3.jar constituent[9]: file:/opt/apache-maven-3.5.3/lib/commons-lang3-3.5.jar constituent[10]: file:/opt/apache-maven-3.5.3/lib/plexus-component-annotations-1.7.1.jar constituent[11]: file:/opt/apache-maven-3.5.3/lib/cdi-api-1.0.jar constituent[12]: file:/opt/apache-maven-3.5.3/lib/org.eclipse.sisu.inject-0.3.3.jar constituent[13]: file:/opt/apache-maven-3.5.3/lib/guava-20.0.jar constituent[14]: file:/opt/apache-maven-3.5.3/lib/plexus-sec-dispatcher-1.4.jar constituent[15]: file:/opt/apache-maven-3.5.3/lib/jsr250-api-1.0.jar constituent[16]: file:/opt/apache-maven-3.5.3/lib/aopalliance-1.0.jar constituent[17]: file:/opt/apache-maven-3.5.3/lib/maven-resolver-spi-1.1.1.jar constituent[18]: file:/opt/apache-maven-3.5.3/lib/maven-settings-builder-3.5.3.jar constituent[19]: file:/opt/apache-maven-3.5.3/lib/commons-io-2.5.jar constituent[20]: file:/opt/apache-maven-3.5.3/lib/maven-model-3.5.3.jar constituent[21]: file:/opt/apache-maven-3.5.3/lib/maven-compat-3.5.3.jar constituent[22]: file:/opt/apache-maven-3.5.3/lib/maven-builder-support-3.5.3.jar constituent[23]: file:/opt/apache-maven-3.5.3/lib/maven-shared-utils-3.2.1.jar constituent[24]: file:/opt/apache-maven-3.5.3/lib/maven-resolver-provider-3.5.3.jar constituent[25]: file:/opt/apache-maven-3.5.3/lib/slf4j-api-1.7.25.jar constituent[26]: file:/opt/apache-maven-3.5.3/lib/maven-repository-metadata-3.5.3.jar constituent[27]: file:/opt/apache-maven-3.5.3/lib/maven-artifact-3.5.3.jar constituent[28]: file:/opt/apache-maven-3.5.3/lib/maven-embedder-3.5.3.jar constituent[29]: file:/opt/apache-maven-3.5.3/lib/plexus-utils-3.1.0.jar constituent[30]: file:/opt/apache-maven-3.5.3/lib/maven-resolver-impl-1.1.1.jar constituent[31]: file:/opt/apache-maven-3.5.3/lib/maven-resolver-util-1.1.1.jar constituent[32]: file:/opt/apache-maven-3.5.3/lib/wagon-http-3.0.0-shaded.jar constituent[33]: file:/opt/apache-maven-3.5.3/lib/org.eclipse.sisu.plexus-0.3.3.jar constituent[34]: file:/opt/apache-maven-3.5.3/lib/maven-resolver-transport-wagon-1.1.1.jar constituent[35]: file:/opt/apache-maven-3.5.3/lib/jcl-over-slf4j-1.7.25.jar constituent[36]: file:/opt/apache-maven-3.5.3/lib/wagon-file-3.0.0.jar constituent[37]: file:/opt/apache-maven-3.5.3/lib/plexus-interpolation-1.24.jar constituent[38]: file:/opt/apache-maven-3.5.3/lib/maven-slf4j-provider-3.5.3.jar constituent[39]: file:/opt/apache-maven-3.5.3/lib/commons-cli-1.4.jar constituent[40]: file:/opt/apache-maven-3.5.3/lib/plexus-cipher-1.7.jar constituent[41]: file:/opt/apache-maven-3.5.3/lib/jansi-1.17.jar --------------------------------------------------- Exception in thread "main" java.lang.NoClassDefFoundError: javax/inject/Provider at org.apache.maven.cli.MavenCli.container(MavenCli.java:637) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:283) at org.apache.maven.cli.MavenCli.main(MavenCli.java:194) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) Caused by: java.lang.ClassNotFoundException: javax.inject.Provider at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) ... 11 more tomcat Id list :5984 cp: 无法获取"/root/.jenkins/workspace/DeployOrder/order/target/order.war" 的文件状态(stat): 没有那个文件或目录 mv: 无法获取"order.war" 的文件状态(stat): 没有那个文件或目录 Tomcat started. Finished: SUCCESS
还没有人回答问题,可以看看其他问题
用Jenkins自动化搭建测试环境
37385 学习 · 236 问题
相似问题