oracle / oracle/oci-java-sdk

Upgrade protobuf-java to 4.x as its failing with springboot 3.4 which uses sql-connector 9.x.

Open
#650 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

java
Dominant language
Java
Stars
243
Forks
171
Avg merge
30m
Merged PRs (30d)
4

Description

SpringBoot 3.4 comes with sql connector 9.1 which in turn depends on protobuf-java 4.26.x.

Caused by: java.lang.NoSuchMethodError: 'void com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages$Challenge.makeExtensionsImmutable()' │
│ at com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages$Challenge.(OciSaslMessages.java:808) │
│ at com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages$Challenge.(OciSaslMessages.java:744) │
│ at com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages$Challenge$1.parsePartialFrom(OciSaslMessages.java:1201) │
│ at com.oracle.bmc.identity.auth.sasl.messages.OciSaslMessages$Challenge$1.parsePartialFrom(OciSaslMessages.java:1195) │
│ at com.google.protobuf.AbstractParser.parsePartialFrom(AbstractParser.java:135) │

Please upgrade the protobuf-java to use latest springboot with oci-jars.

Also see: https://github.com/protocolbuffers/protobuf/issues/17247#issuecomment-2326976081

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the protobuf-java dependency declarations and reviewing the reported NoSuchMethodError from OciSaslMessages$Challenge when Spring Boot 3.4 and OCI jars are used. Verify the dependency resolution with the relevant Spring Boot 3.4 and sql connector 9.1 setup; done when the incompatible protobuf version is no longer selected and the reported error is resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring-boot
Domain
backend, build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.