Cannot run test phase in obp-api module
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- scala
- 领域
- build-system
调研方向
从 obp-api/pom.xml 开始,检查 net.catte:scalapb-maven-plugin 的配置及其 protocVersion 设置,然后在 obp-api 模块中运行 mvn test,以重现不支持平台的错误。当 master 分支的配置选择受支持的 protoc 版本,并且无需本地编辑 pom.xml 即可成功运行 mvn test 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I have downloaded the master branch of this project and run "mvn test" successfully in obp-api module last week. Today, it did not work suddenly. When I run "mvn test", the error message is
[ERROR] Failed to execute goal net.catte:scalapb-maven-plugin:1.2:compile (default) on project obp-api: Error compiling protobuf files: Unsupported platform: protoc-3.0.0-osx-x86_64.exe -> [Help 1]
In my local maven repository, I found package "com/github/os72/protoc-jar/3.5.1.1". So that I open the
pom.xml in obp-api module and edit it as below:
<plugin>
<groupId>net.catte</groupId>
<artifactId>scalapb-maven-plugin</artifactId>
<version>1.2</version>
<configuration>
<protocVersion>v3.5.1</protocVersion> <!-- I added this property -->
<javaOutput>false</javaOutput>
<inputDirectory>${basedir}/src/main/protobuf</inputDirectory>
<outputDirectory>${basedir}/src/main/scala</outputDirectory>
<grpc>true</grpc>
</configuration>
It works.
May I know what is the root cause of this issue? Please help to update the source in master branch so that this issue will not happen for other people again.
- 主要语言
- Scala
- 星标
- 1.7k
- 派生
- 483
- 平均合并
- 5 小时 16 分钟
- 30 天内合并 PR
- 18
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
OpenBankProject/OBP-API 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
OpenBankProject/OBP-API#2914 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 38/100
OpenBankProject/OBP-API#2888 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 15/100
OpenBankProject/OBP-API#2741 ·
维护者通常 1 天内回复
-
[BUG] Docker: OBP-API fails to start with 503 error, caused by ExceptionInInitializerError in ErrorMessages可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 4/5 3-5 天 新手友好度 35/100
OpenBankProject/OBP-API#2624 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
OpenBankProject/OBP-API#2597 ·
维护者通常 1 天内回复
查看 OpenBankProject/OBP-API 的全部 Issue
相似的 Issue
-
area/map-site bug layer/core size/S
难度 2/5 1-3 小时 新手友好度 88/100
marola-dev/marola-app#60 ·
维护者通常 1 天内回复
-
enhancement help wanted
难度 2/5 1-3 小时 新手友好度 85/100
lambdaworks/zio-elasticsearch#863 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 1 天内回复
-
Iceberg data tables whose names end with a metadata-table name fall back to Spark可能已有人在做 @aryan9948 今天认领。 未关闭requires-triage
难度 2/5 1-3 小时 新手友好度 75/100
apache/datafusion-comet#6719 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
lichess-org/lila#21971 · 2 条评论 ·
维护者通常 1 天内回复