-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchmethodError on pubsub.PubSubOptions.newBuilder() #1397
Labels
api: pubsub
Issues related to the Pub/Sub API.
Comments
How are you running the application? Is the proper version of |
@kir-titievsky , could you provide the information that Marco was asking for here? Could you maybe try with 0.8.0? |
Closing out due to no response. |
github-actions bot
pushed a commit
that referenced
this issue
Jun 23, 2022
🤖 I have created a release *beep* *boop* --- ### Updating meta-information for bleeding-edge SNAPSHOT release. --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
github-actions bot
pushed a commit
that referenced
this issue
Oct 10, 2022
… v3.7.1 (#1397) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-asset](https://togithub.com/googleapis/java-asset) | `3.7.0` -> `3.7.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-asset/3.7.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-asset/3.7.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-asset/3.7.1/compatibility-slim/3.7.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-asset/3.7.1/confidence-slim/3.7.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. ⚠ **Warning**: custom changes will be lost. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-asset). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMjIuMyIsInVwZGF0ZWRJblZlciI6IjMyLjIyMi4zIn0=-->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code compiles with this clause in pom.xml
com.google.cloud
google-cloud-pubsub
0.5.0
But crashes immediately at run time when I attempt to create a new option builder:
public static void main( String[] args ) throws ParseException, java.io.IOException
{
CommandLine cmd = parseCommandLineArgs( args );
PubSubOptions options = PubSubOptions.newBuilder().build();
...
}
With
Exception in thread "main" java.lang.NoSuchMethodError: com.google.cloud.pubsub.PubSubOptions.newBuilder()Lcom/google/cloud/pubsub/PubSubOptions$Builder;
The text was updated successfully, but these errors were encountered: