一、该问题的重现步骤是什么?
1. 云效部署,前几个步骤正常,到java构建步骤失败(报错信息见四)
2.
3.
二、你期待的结果是什么?实际看到的又是什么?
正常部署
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
四、请提供详细的错误堆栈信息,这很重要。
好像加载不到基础的一些jar包,
最后错误日志如下:
10:03:32] [INFO] rst-finance ........................................ SKIPPED
[10:03:32] [INFO] ------------------------------------------------------------------------
[10:03:32] [INFO] BUILD FAILURE
[10:03:32] [INFO] ------------------------------------------------------------------------
[10:03:32] [INFO] Total time: 24.487 s
[10:03:32] [INFO] Finished at: 2024-09-04T10:03:32+08:00
[10:03:32] [INFO] ------------------------------------------------------------------------
[91m[10:03:32] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project blade-common: Compilation failure: Compilation failure:
[91m[10:03:32] [ERROR] /root/workspace/springcloudserver_Pj88/blade-common/src/main/java/org/springblade/common/utils/DataConvertUtil.java:[3,26] 程序包javax.servlet.http不存在
[91m[10:03:32] [ERROR] /root/workspace/springcloudserver_Pj88/blade-common/src/main/java/org/springblade/common/utils/DataConvertUtil.java:[19,43] 找不到符号
[91m[10:03:32] [ERROR] 符号: 类 HttpServletRequest
[91m[10:03:32] [ERROR] 位置: 类 org.springblade.common.utils.DataConvertUtil
[91m[10:03:32] [ERROR] /root/workspace/springcloudserver_Pj88/blade-common/src/main/java/org/springblade/common/utils/CommonUtil.java:[20,41] 程序包org.springframework.web.multipart不存在
[91m[10:03:32] [ERROR] /root/workspace/springcloudserver_Pj88/blade-common/src/main/java/org/springblade/common/utils/CommonUtil.java:[46,23] 找不到符号
[91m[10:03:32] [ERROR] 符号: 类 MultipartFile
[91m[10:03:32] [ERROR] 位置: 类 org.springblade.common.utils.CommonUtil
[91m[10:03:32] [ERROR] -> [Help 1]
[91m[10:03:32] [ERROR]
[91m[10:03:32] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[91m[10:03:32] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[91m[10:03:32] [ERROR]
[91m[10:03:32] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[91m[10:03:32] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[91m[10:03:32] [ERROR]
[91m[10:03:32] [ERROR] After correcting the problems, you can resume the build with the command
[91m[10:03:32] [ERROR] mvn
[91m[10:03:32] [ERROR] BUILD ERROR
[91m[10:03:32] [ERROR] 243705470
[91m[10:03:32] [ERROR] 步骤运行失败,返回码: 1
五、若有更多详细信息,请在下面提供。
好像加载不到基础的一些jar包
扫一扫访问 Blade技术社区 移动端