GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — NoSuchMethodError for com.google.cloud.bigquery.BigQueryOptions.getHttpTransportFactory · Issue #1521 · googleapis/google-cloud-java

NoSuchMethodError for com.google.cloud.bigquery.BigQueryOptions.getHttpTransportFactory #1521

New issue
Copy link
New issue
Copy link
Closed
Closed
NoSuchMethodError for com.google.cloud.bigquery.BigQueryOptions.getHttpTransportFactory#1521
Copy link
Assignees
DinaWork
Labels
api: bigqueryIssues related to the BigQuery API.running on app engine

Description

@DinaWork
DinaWork
opened on Jan 11, 2017
Issue body actions

I am trying to upload to bigquery from my java app running on app-engine.

the dependecy in my pom:

<dependency>
    <groupId>com.google.cloud</groupId>
    <artifactId>google-cloud-bigquery</artifactId>
    <version>0.8.0-beta</version>
</dependency>

Here is my initial code:

import com.google.cloud.bigquery.*;

public class MyClass {
	public static myFuction() throws Exception {
		BigQuery bigquery = BigQueryOptions.getDefaultInstance().getService();
    }

when I run this locally I succed, but when running on app-engine
I am receiving a NoSuchMethodError error:

Exception in thread "main" java.lang.NoSuchMethodError: com.google.cloud.bigquery.BigQueryOptions.getHttpTransportFactory()Lcom/google/cloud/HttpServiceOptions$HttpTransportFactory;
	at com.google.cloud.bigquery.spi.DefaultBigQueryRpc.<init>(DefaultBigQueryRpc.java:83)
	at com.google.cloud.bigquery.BigQueryOptions$DefaultBigQueryRpcFactory.create(BigQueryOptions.java:49)
	at com.google.cloud.bigquery.BigQueryOptions$DefaultBigQueryRpcFactory.create(BigQueryOptions.java:43)
	at com.google.cloud.ServiceOptions.getRpc(ServiceOptions.java:482)
	at com.google.cloud.bigquery.BigQueryImpl.<init>(BigQueryImpl.java:184)
	at com.google.cloud.bigquery.BigQueryOptions$DefaultBigqueryFactory.create(BigQueryOptions.java:39)
	at com.google.cloud.bigquery.BigQueryOptions$DefaultBigqueryFactory.create(BigQueryOptions.java:33)
	at com.google.cloud.ServiceOptions.getService(ServiceOptions.java:469)
	at com.google.cloud.ServiceOptions.service(ServiceOptions.java:463)

I also tried using just

	  <dependency>
                  <groupId>com.google.cloud</groupId>
                  <artifactId>google-cloud</artifactId>
                  <version>0.8.0</version>
        </dependency>  

but it still didn't work

Activity

  1. garrettjonesgoogle
    added
    api: bigqueryIssues related to the BigQuery API.
    running on app engine
    on Jan 11, 2017
  2. DinaWork commented on Jan 18, 2017

    @DinaWork
    DinaWork
    on Jan 18, 2017
    Author
    More actions

    deleting dependencies and rebuilding the project solves the issue

  3. DinaWork
    closed this as completedon Jan 18, 2017
  4. JustinBeckwith
    assigned
    DinaWork
    on Feb 1, 2021
  5. github-actions
    added 2 commits that reference this issue on Sep 30, 2022

    deps: update dependency com.google.protobuf:protobuf-java-util to v3.…

    7bb94b7

    chore(main): release 2.3.15 (#1519)

    a87b8fc
  6. meltsufin
    added a commit that references this issue on Dec 22, 2025

    ci: unmanaged dependency check (#1521)

    7926233
  7. chingor13
    added a commit that references this issue on Feb 24, 2026

    chore(main): release 1.28.0 (#1521)

    d126326
  8. suztomo
    added a commit that references this issue on Mar 11, 2026

    ci: unmanaged dependency check (googleapis#1521)

    f784f0e
  9. chingor13
    added a commit that references this issue on Mar 12, 2026

    chore(main): release 1.28.0 (#1521)

    53cc10e
  10. suztomo
    added a commit that references this issue on Mar 23, 2026

    deps: update dependency com.google.cloud:google-cloud-shared-dependen…

    f40768e
  11. suztomo
    added 2 commits that reference this issue on Mar 30, 2026

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    c2f096a

    chore(main): release 0.127.29 (#1518)

    54f5c50
  12. lqiu96
    added 2 commits that reference this issue on Apr 1, 2026

    deps: update dependency com.google.cloud:sdk-platform-java-config to …

    3ccf4c4

    chore(main): release 0.127.29 (#1518)

    5f197ec
  13. meltsufin
    added 2 commits that reference this issue on Apr 29, 2026

    build(deps): update dependency org.apache.maven.plugins:maven-surefir…

    98a0644

    build(deps): update dependency org.apache.maven.plugins:maven-surefir…

    59112ba
  14. benjaminp
    added a commit that references this issue on Jul 13, 2026

    chore(deps): update dependency com.google.cloud:libraries-bom to v26.…

    5a3f1f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @DinaWork
    DinaWork

Labels

api: bigqueryIssues related to the BigQuery API.running on app engine

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.