java - hudson自动化部署linux,执行mvn 提示我jar不存在。但是Windows上运行可以的,排除了jar冲突

 QueenieYam任嘉明 发布于 2022-10-25 09:29

1 进项spring-data的书写,在windows上执行是可以运行成功,并且可以找到jar包

2 在 linux 上 mvn deploy时 提示我 jar不存在 ,本地 windows生成的war放到 linux上可以执行

3 搜了很多都无结果

windows 上

linux 上

具体文字

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project schedule: Compilation failure
[ERROR] /opt/hudson/jobs/dream_schedule/workspace/dream_schedule/src/main/java/org/finace/schedule/utils/Test.java:[17,49] package org.springframework.data.auditing.config does not exist
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:

撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有